async_locks 4.0.1 copy "async_locks: ^4.0.1" to clipboard
async_locks: ^4.0.1 copied to clipboard

Synchronization primitives for asynchronous Dart code: Event, Lock and Semaphore

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add async_locks

With Flutter:

 $ flutter pub add async_locks

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  async_locks: ^4.0.1

Alternatively, 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_locks/async_locks.dart';
7
likes
160
points
3.42k
downloads

Publisher

verified publisherharuka39.me

Weekly Downloads

Synchronization primitives for asynchronous Dart code: Event, Lock and Semaphore

Repository (GitHub)
View/report issues

Topics

#async #concurrency

Documentation

API reference

License

GPL-3.0 (license)

More

Packages that depend on async_locks