wire
wire<
I,E,A,S>(source,f): () =>void
Defined in: Core/Op.ts:823
Subscribes to a manager and calls a handler when the state reaches OpOk.
Returns an unsubscribe function.
Type Parameters
Section titled “Type Parameters”I
E
A
S extends State<E, A>
Parameters
Section titled “Parameters”source
Section titled “source”Manager<I, E, A, S>
(a) => void
Returns
Section titled “Returns”() => void