RadicalFx / housekeeping

This repository is intended to keep track and manage all what is not code-related. Requirements and Pre-Requirements discussions should be handled here too.
https://waffle.io/radicalfx/housekeeping
0 stars 1 forks source link

Add "ShouldHandle" behavior to broker #68

Closed melkio closed 7 years ago

melkio commented 7 years ago

IMessageBroker doesn't support the possibility to add "filter" during subscription phase.

I'd like to have something like:

broker.Subscribe<T>( object subscriber, Predicate<object, T> shouldHandle, Action<object, T> callback );

to avoid filtering inside callback implementation

mauroservienti commented 7 years ago

This issue was moved to RadicalFx/Radical#239