• Executes an actions in background.

    Returns

    The promise with the result of the action.

    Type Parameters

    • TResult extends unknown = any

    Parameters

    • action: ((...args: any[]) => TResult | PromiseLike<TResult>)

      The action to invoke.

        • (...args: any[]): TResult | PromiseLike<TResult>
        • Parameters

          • Rest ...args: any[]

          Returns TResult | PromiseLike<TResult>

    • Optional Rest ...args: any[]

      One or more arguments for the action.

    Returns Promise<TResult>

Generated using TypeDoc