traitlets icon indicating copy to clipboard operation
traitlets copied to clipboard

Define Notification Types With Sentinels?

Open rmorshea opened this issue 8 years ago • 0 comments

A notification which catches a "change" should also intuitively catch a "special change".

I see two ways to accomplish this kind of behavior:

  1. Split type strings at each " " similarly to how html classes are handled by css selectors.
  2. Key notifiers on type(sentinel) and trace type(sentinel).mro() when triggering them.

Either way, I think that we could leverage EventReport types to do this.

rmorshea avatar Mar 31 '17 22:03 rmorshea