async_notify 0.0.2 copy "async_notify: ^0.0.2" to clipboard
async_notify: ^0.0.2 copied to clipboard

Notify wait/notify library.

async_notify

CI / CD ビルドステータス
Github Actions Github Actions

Features #

Notify(wait-notify) support Library.

  • Notify Message(Object)の非同期待ち合わせ.
  • NotifyChannel 非同期の値送信/待ち合わせ.

Usage #

// Notify
final notify = Notify();
await notify.wait(); // wait Notify.notify() call.

// finalize.
notify.dispose();
// NotifyChannel.

final notify = Notify();
final channel = NotifyChannel<int>(notify);

await channel.receive();    // wait NotifyChannel.send(value);

// finalize.
notify.dispose();

Additional information #

0
likes
130
points
70
downloads

Publisher

verified publisherviviware.com

Weekly Downloads

Notify wait/notify library.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, rxdart

More

Packages that depend on async_notify