Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/blocks/deps.ts>workflowRemoteRunner

Git-based Visual CMS for Deno, </> htmx and Tailwind apps. Deploy on any Deno-compatible host.
Latest
variable workflowRemoteRunner
import { workflowRemoteRunner } from "https://deno.land/x/blocks@1.75.0/deps.ts";

Exposes a workflow function as a runner.

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) => (req: RunRequest<TArgs, TResult, TMetadata>) => Promise<void>