OptionalactionThe dispatched Redux action. If the action was dispatched by
a Saga then the action will have a property SAGA_ACTION set to true
(SAGA_ACTION can be imported from @redux-saga/symbols).
OptionaleffectThe ID of the yielded effect
OptionaleffectThe ID of the yielded effect
Error raised with the rejection of the effect
OptionaleffectThe ID of the yielded effect
The result of the successful resolution of the effect. In
case of fork or spawn effects, the result will be a Task object.
OptionaleffectOptionalroot
Used by the middleware to dispatch monitoring events. Actually the middleware dispatches 6 events:
When a root saga is started (via
runSagaorsagaMiddleware.run) the middleware invokessagaMonitor.rootSagaStartedWhen an effect is triggered (via
yield someEffect) the middleware invokessagaMonitor.effectTriggeredIf the effect is resolved with success the middleware invokes
sagaMonitor.effectResolvedIf the effect is rejected with an error the middleware invokes
sagaMonitor.effectRejectedIf the effect is cancelled the middleware invokes
sagaMonitor.effectCancelledFinally, the middleware invokes
sagaMonitor.actionDispatchedwhen a Redux action is dispatched.