signals 0.6.0

Signals

Subscribable signals for Dart.

API Reference Documentation

For example:

var s = new Signal();

s.on((arg) => print('Emitted signal with arg: $arg')); s.emit(1)

> Emitted signal with arg: 1

1. Depend on it

Add this to your package's pubspec.yaml file:

dependencies:
  signals: 

2. Install it

You can install packages from the command line:

$ pub get

Alternatively, your editor might support pub. Check the docs for your editor to learn more.

About

Subscribable signals for Dart.

Author

Email afshar@google.com Ali Afshar

Homepage

github.com/aliafshar/dart-signals

Documentation

www.dartdocs.org/documentation/signals/0.6.0/

Source code (hyperlinked)

www.crossdart.info/p/signals/0.6.0/

Uploader

afshar@google.com

Share