Type Alias TaskHandlers<TInput, TResult>

TaskHandlers: {
    onTaskError?: TaskErrorHandler<TInput>;
    onTaskSuccess?: TaskSuccessHandler<TInput, TResult>;
}

An object that contains functions for handling task events.

Type Parameters

  • TInput

    The type of the input.

  • TResult

    The type of the result.

Type declaration