The initial release of the Signal! 🎉
Added
- This release adds basic
Signal
methods- Connecting listeners and providing a
Connection
object - Firing the signal with arbitrary arguments
- Disconnecting all listeners
- Connecting listeners and providing a
- Connecting listeners provides a
Connection
object- This can be used to disconnect the listener or check the connection status
- This includes an
Event
class to provide an external reference that only allows connecting listeners.- This is primarily useful right now for preventing external listeners of a Signal from accessing the ability to fire.
For more details, view the full changelog, or check out our documentation.