Used by the middleware to dispatch monitoring events. Actually the middleware dispatches 6 events:
Creates a Redux middleware and connects the Sagas to the Redux Store
Creates channel that will subscribe to an event source using the subscribe
method. Incoming events from the event source will be queued in the channel
until interested takers are registered.
Allows starting sagas outside the Redux middleware environment. Useful if you want to connect a Saga to external input/output, other than store actions.
The
{subscribe, dispatch}
is used to fulfilltake
andput
Effects. This defines the Input/Output interface of the Saga.