Skip to main content
Module

x/live/mod.ts>WorkflowContext#invoke

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

Type Parameters

TInvocableKey extends AvailableFunctions<TManifest> | AvailableLoaders<TManifest> | AvailableActions<TManifest>
TFuncSelector extends TInvocableKey extends AvailableFunctions<TManifest> ? DotNestedKeys<ManifestFunction<TManifest, TInvocableKey>["return"]> : TInvocableKey extends AvailableActions<TManifest> ? DotNestedKeys<ManifestAction<TManifest, TInvocableKey>["return"]> : TInvocableKey extends AvailableLoaders<TManifest> ? DotNestedKeys<ManifestLoader<TManifest, TInvocableKey>["return"]> : never
TPayload extends Invoke<TManifest, TInvocableKey, TFuncSelector>

Parameters

optional
props: Invoke<TManifest, TInvocableKey, TFuncSelector>["props"]

Returns

LocalActivityCommand<InvokeResult<TPayload, TManifest>, [Invoke<TManifest, TInvocableKey, TFuncSelector>["props"]]>