import { workflowHTTPHandler } from "https://deno.land/x/blocks@1.52.16/deps.ts";
Exposes a workflow function as a http handler.
type
<TArgs extends Arg = Arg, TResult = unknown, TCtx extends WorkflowContext = WorkflowContext, TMetadata extends Metadata = Metadata>(workflow: Workflow<TArgs, TResult, TCtx>, Context: (execution: WorkflowExecution<TArgs, TResult, TMetadata>) => TCtx) => Handler