async_signal 0.0.3
async_signal: ^0.0.3 copied to clipboard
Control the flow of asynchronous operations by signaling all the waiting tasks whether they should wait or continue at a specific point. Lock and unlock the flow.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add async_signalWith Flutter:
$ flutter pub add async_signalThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
async_signal: ^0.0.3Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:async_signal/async_signal.dart';