event_filter: ^0.0.1-dev.4 copied to clipboard
Mecanism for filtering events.
Mechanism for filtering events.
- Error implementation: Error event
- Error implementation: Default error event filter
- Error implementation: Default error event filter strategy
- Error implementation: Default error event strategy
- Error implementation: Default error event strategy provider
- Factory of event filter strategy
- Factory of event strategy
- Event strategy
- Event filter strategy
- Event strategy provider
- Event filter
Base class for any event.
Event Strategy #
A strategy of processing event. That is mean we implement there how we react to event.
Event Filter Strategy #
A strategy of filtering event. If event has been pass through the filter, the strategy will return that event, else return null. Inside it we must solve will we react to event or not.
Strategy factory #
EventFilterStrategyFactory return strategy by event.
It will be select by event type from map. If map not contain this event type,
default strategy will be return.
Event Filter #
It can be used for filtering events. Events must be passed to filter function. Filter get from factory necessary strategy of filtering and use it for this event.
Event strategy provider #
This behaviour solve what will happen when event will. It get strategy by the factory and use it for this event.
Error implementation #
This implementation of reaction and filtering error event. More details of using it you can look in example.