Allow creating stateful dispatchers so that a change in the stateful dispatcher will propegate to all children of the stateful dispatcher.
e.g.
var rootDispatcher = new StatefulDispatcher(\*...*\);
var childDispatcher = rootDispatcher.createScoped("SomeScreen");
rootDispatcher.setIdentity("User ID", "123");
rootDispatcher.setDispatchMethod(function(event) { console.log(event) } );
childDispatcher.dispatch("View"); // Will write to the console view event with User ID: 123
This will allow apps to create a root dispatcher and set its' behavior/dispatching method.
Allow creating stateful dispatchers so that a change in the stateful dispatcher will propegate to all children of the stateful dispatcher.
e.g.
This will allow apps to create a root dispatcher and set its' behavior/dispatching method.