signals 0.1.0 signals: ^0.1.0 copied to clipboard
Simple signals for Dart.
Signals #
Simple 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