The Task interface specifies the result of running a Saga using fork, middleware.run or runSaga.
fork
middleware.run
runSaga
Cancels the task (If it is still running)
Returns task thrown error. undefined if task is still running
undefined
Returns true if the task has been cancelled
Returns true if the task hasn't yet returned or thrown an error
Returns task return value. undefined if task is still running
Returns a Promise which is either:
The Task interface specifies the result of running a Saga using
fork
,middleware.run
orrunSaga
.