Interface ProcessLifecycleActions<TRequest, TNext, TError>

A dictionary of ActionCreators corresponding to lifecycle events of a process.

interface ProcessLifecycleActions<TRequest, TNext, TError> {
    cancel: ActionCreator<void>;
    canceled: ActionCreator<void>;
    complete: ActionCreator<void>;
    error: ActionCreator<TError>;
    next: ActionCreator<TNext>;
    request: ActionCreator<TRequest>;
    started: ActionCreator<TRequest>;
}

Type Parameters

  • TRequest
  • TNext
  • TError

Properties

cancel: ActionCreator<void>

Cancels the current invocation.

canceled: ActionCreator<void>

Notifies an invocation was canceled by a subscriber.

complete: ActionCreator<void>

Notifies an invocation has terminated successfully.

Notifies an invocation has terminated with an error.

Notifies an invocation has produced data.

Invokes the service.

Notifies an invocation has begun.