Dispatcher – the spider in the web

Think of the dispatcher as the spider in the web that handles messages being passed to it.  You can also think of the dispatcher as a mailman who promises that your message will reach its target destination. A dispatcher lives, for one thing, to dispatch messages to anyone who will listen. There is usually just one dispatcher in a Flux architecture and a typical usage looks something like this:

dispatcher.dispatch(message);
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset