Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/live/deps.ts>WorkflowContext#callLocalActivity

Open-Source web editor based on Preact, Tailwind and TypeScript. The other side of code.
Go to Latest
method WorkflowContext.prototype.callLocalActivity
Re-export
import { WorkflowContext } from "https://deno.land/x/live@1.60.22/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