Skip to main content
Module

x/live/deps.ts>WorkflowContext#callLocalActivity

Open-Source web editor based on Preact, Tailwind and TypeScript. The other side of code.
Very Popular
Go to Latest
method WorkflowContext.prototype.callLocalActivity
Re-export
import { WorkflowContext } from "https://deno.land/x/live@0.36.7/deps.ts";

Executes the activity for the given context and args.

Type Parameters

optional
TResult = unknown

Parameters

activity: () => PromiseOrValue<TResult>

the activity that should be executed

Returns

LocalActivityCommand<TResult>