Skip to main content
Module

x/live/deps.ts>workflowHTTPHandler

The edge-native DXP: build and evolve an editable ultra-fast site powered by deno, fresh and tailwind. Optimized for "time-to-go-live".
Very Popular
Go to Latest
variable workflowHTTPHandler
Re-export
import { workflowHTTPHandler } from "https://deno.land/x/live@1.2.1/deps.ts";

Exposes a workflow function as a http handler.

type

<TArgs extends Arg = Arg, TResult = unknown, TCtx extends WorkflowContext = WorkflowContext>(
workflow: Workflow<TArgs, TResult, TCtx>,
Context: new (executionId: string, metadata?: unknown) => TCtx,
workerPublicKey?: JsonWebKey,
) => Handler