Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 762 Bytes

state_handler.md

File metadata and controls

18 lines (12 loc) · 762 Bytes

StateHandler.

What is it?

StateHandler is replacement of MVI intent layer. StateHandler process any type of io, like XHR, DOMEvent etc...

How does this works?

StateHandler process state value created by store, if connected Observable send values.
So StateHandler is simple class which process Observables.

Input + Output

All StateHandler modules has input method named subscribe and output method named response,
and all observable you passed to StateHandler modules processed or subscribed within that subscribe method.
Then your Intent class recieve response method return value that is defined in @rxx/core as HandlerResponse
as parameters.(See Create Intent)