bruth/synapse — Issue #25: Regarding binding registration and replacement
Author: erikschoel
Created: 2012-03-07 20:06:17+00:00
State: open

Hi there,

I've been using Synapse more intensively and I think it's great.

One thing I have been struggling with: Would it be possible to keep a register of bindings with 4 properties:
1. observer
2. subject
3. event
4. id

with the latter being just any value usable from code, and then with the option "replace" added to the observe() and notify() options. With observe then the check is to see of the observer is already observing the events of type event with the same id, and then effectively replacing the subject. And the other way around for notify.

Or is this something I can better achieve otherwise?

Best regards,

Erik