synchronized 3.1.0+1 copy "synchronized: ^3.1.0+1" to clipboard
synchronized: ^3.1.0+1 copied to clipboard

Lock mechanism to prevent concurrent access to asynchronous code.

Changelog #

3.1.0+1 #

  • Dart 3 support

3.0.1 #

  • strict-casts and sdk 2.18 support

3.0.0+3 #

  • Add MIT licence

3.0.0+2 #

  • null safety support, breaking change

2.2.0+2 #

  • Add SynchronizedLock extension to turn any object into a lock.

2.1.1 #

  • pedantic 1.9 support

2.1.0+3 #

  • Fix reentrant lock to properly synchronize inner blocks

2.0.0 #

  • Remove previously deprecated SynchronizedLock and synchronized function

1.5.2 #

  • Remove dev_test dependency

1.5.1 #

  • Dart2 stable support

1.5.0 #

  • Deprecate SynchronizedLock and synchronized

1.4.0 #

  • Re-use non-reentrant lock in synchronized method

1.3.0 #

  • Add non-reentrant lock that do not use Zone

1.2.1 #

  • implicit-casts: false (testing dart2 support)

1.2.0 #

  • Use generic instead of 2.0 deprecated comments

1.1.0 #

  • Fix inner task issue, next outer task will wait for all inner tasks to terminate
  • Properly handle nested thrown error

1.0.0 #

  • Bump to version 1.0.0

0.1.0 #

  • Initial version
462
likes
140
pub points
99%
popularity

Publisher

verified publishertekartik.com

Lock mechanism to prevent concurrent access to asynchronous code.

Repository (GitHub)
View/report issues

Documentation

API reference

Funding

Consider supporting this project:

github.com

License

MIT (LICENSE)

More

Packages that depend on synchronized