locking 0.0.9 copy "locking: ^0.0.9" to clipboard
locking: ^0.0.9 copied to clipboard

Dart 1 only

The "locking" prevents the simultaneous execution of the "locked" code in the different zones.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add locking

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

dependencies:
  locking: ^0.0.9

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

Import it

Now in your Dart code, you can use:

import 'package:locking/locking.dart';
0
likes
25
pub points
0%
popularity

Publisher

unverified uploader

The "locking" prevents the simultaneous execution of the "locked" code in the different zones.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (LICENSE)

More

Packages that depend on locking