Python observer pattern (callback/event system). Modeled after Qt Signals & Slots (but independent of Qt)
BSD 3-Clause "New" or "Revised" License
84
stars
13
forks
source link
[idea] Connect SignalRelay to signals only when have callback #276
Closed
Czaki closed 8 months ago
Description
Currently, SignalRelay is always connected to all signals in SignalGroup. It means that emitting an event always triggers some callback.
Maybe SignalRelay should connect itself to all signals in a group only if something is connected to it itself?