budosystems.events.collections.SignallingSet

class SignallingSet

Bases: MutableSet[_T]

An implementation of set which signals the MessageBus.

Inherited Members

  • isdisjoint

  • pop

  • clear

  • remove

__init__(*args: _T, owner: object, prop_name: str)
add(value: _T) None

Adds value to this set, and signals SetModifiedEvent before and after the insertion.

discard(value: _T) None

Removes value to this set, and signals SetModifiedEvent before and after the insertion.