Module

x/live/deps.ts>workflowWebSocketHandler

Open-Source web editor based on Preact, Tailwind and TypeScript. The other side of code.
Go to Latest
variable workflowWebSocketHandler
import { workflowWebSocketHandler } from "https://dotland.deno.dev/x/live@1.63.12/deps.ts";

Exposes a workflow function as a http websocket 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
import workflowWebSocketHandler
import { workflowWebSocketHandler } from "https://dotland.deno.dev/x/live@1.63.12/deps.ts";