Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/live/blocks/workflow.ts>WorkflowFn

Git-based Visual CMS for Deno, </> htmx and Tailwind apps. Deploy on any Deno-compatible host.
Go to Latest
type alias WorkflowFn
import { type WorkflowFn } from "https://deno.land/x/live@1.77.0/blocks/workflow.ts";

Type Parameters

optional
TProps = any
optional
TState = { }
optional
TArgs extends Arg = any
optional
TResp = any
optional
TMetadata extends Metadata = any
optional
TManifest extends AppManifest = any
optional
TContext extends WorkflowContext<TManifest, TMetadata> = any
definition: (props: TProps, ctx: FnContext<TState, TManifest>) => DurableWorkflow<TArgs, TResp, TContext>