Skip to main content
Module

x/live/deps.ts>workflowRemoteRunner

deco is the edge-native site editor and app framework for building dynamic, high-performance sites with a built-in visual admin UI.
Very Popular
Go to Latest
variable workflowRemoteRunner
import { workflowRemoteRunner } from "https://deno.land/x/live@1.36.17/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>