cujojs / msgs

Message oriented programming
http://cujojs.com/
Other
121 stars 20 forks source link

filters in a chain do not actually filter #6

Closed scothis closed 11 years ago

scothis commented 11 years ago

A filter works by not sending the message to the target channel. When inside a chain, the chain assumes it will receive a message which in turn is provided to the next handler. These effects combine to make filters not filter when inside a chain.

A filter that discards a message when inside a chain should prevent that message from being received by the next step in the chain.

scothis commented 11 years ago

fixed on dev