a Node style function. i.e. a function which accepts in addition to
its arguments, an additional callback to be invoked by fn when it
terminates. The callback accepts two parameters, where the first parameter
is used to report errors while the second is used to report successful
results
Creates an Effect description that instructs the middleware to invoke fn as
a Node style function.
a Node style function. i.e. a function which accepts in addition to
its arguments, an additional callback to be invoked by fn when it
terminates. The callback accepts two parameters, where the first parameter
is used to report errors while the second is used to report successful
results
an array to be passed as arguments for fn
Same as cps([context, fn], ...args) but supports passing a fn as string.
Useful for invoking object's methods, i.e.
yield cps([localStorage, 'getItem'], 'redux-saga')
Same as cps([context, fn], ...args) but supports passing context and
fn as properties of an object, i.e.
yield cps({context: localStorage, fn: localStorage.getItem}, 'redux-saga').
fn can be a string or a function.
Same as cps([context, fn], ...args) but supports passing context and
fn as properties of an object, i.e.
yield cps({context: localStorage, fn: localStorage.getItem}, 'redux-saga').
fn can be a string or a function.
Creates an Effect description that instructs the middleware to invoke
fnas a Node style function.