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
35
points
6
downloads

Publisher

unverified uploader

Weekly Downloads

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

Homepage

License

BSD-3-Clause (license)

More

Packages that depend on locking