ReportActionHandler<S extends ActionMessage> constructor

ReportActionHandler<S extends ActionMessage>({
  1. ActionReport<S>? onStarted,
  2. ActionReport<S>? onFinished,
})

Auxiliary class for customizing the actions of features

Implementation

ReportActionHandler({
  ActionReport<S>? onStarted,
  ActionReport<S>? onFinished,
})  : onStarted = StateAction<S>(action: onStarted),
      onFinished = StateAction<S>(action: onFinished);