You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Provide a preprocessing step in event dispatch, allowing it to flexibly change channels of the event before sending it through dispatch logic, or cancelling them.
Example
Event:
interfaceAccountMoneyChangeEvent : Event {
val amount:Int
}
Also, if Characteristics get implemented, the preprocessor could also change characteristics of events, but this will occur after Factory Characteristic Handling, so the preprocessor will have priority.
Downsides
A Dispatch Preprocessor could make it harder to figure why a event is not being dispatched as expected.
The text was updated successfully, but these errors were encountered:
Proposal
Provide a preprocessing step in event dispatch, allowing it to flexibly change channels of the event before sending it through dispatch logic, or cancelling them.
Example
Event:
Preprocessor:
Also, if Characteristics get implemented, the preprocessor could also change characteristics of events, but this will occur after Factory Characteristic Handling, so the preprocessor will have priority.
Downsides
A Dispatch Preprocessor could make it harder to figure why a event is not being dispatched as expected.
The text was updated successfully, but these errors were encountered: