deleteDemoFlow function infrastructure exported
Last updated: 2026-03-05T10:53:28.858Z
Location
Metrics
LOC: 5
Complexity: 1
Params: 1
Signature
deleteDemoFlow(flowId: string): : Promise<void>
Summary
Delete a demo flow by ID.
Source Code
export async function deleteDemoFlow(flowId: string): Promise<void> {
await updateStorageAtomically<FlowScript[]>(KEY, [], (current) =>
current.filter((f) => f.id !== flowId),
);
}