signals 0.6.0 signals: ^0.6.0 copied to clipboard
Subscribable signals for Dart.
Signals #
Subscribable signals for Dart.
For example:
var s = new Signal();
s.on((arg) => print('Emitted signal with arg: $arg'));
s.emit(1)
> Emitted signal with arg: 1