import { WorkflowContext } from "https://deno.land/x/live@1.74.1/mod.ts";
Type Parameters
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
key: TInvocableKey
optional
props: Invoke<TManifest, TInvocableKey, TFuncSelector>["props"]Returns
LocalActivityCommand<InvokeResult<TPayload, TManifest>, [Invoke<TManifest, TInvocableKey, TFuncSelector>["props"]]>