Type Parameters
- TTarget
- TArgs extends any[]
- TResult
Parameters
- actionName: string
- fn: ((target: TTarget, ...args: TArgs) => Generator<any, TResult, any>)
- (target, ...args): Generator<any, TResult, any>
Returns Generator<any, TResult, any>
Returns ((target: TTarget, ...args: TArgs) => Promise<TResult>)
The function as an standalone flow.
Creates a standalone flow. A standalone flow must always take an existing tree node as first argument.