runtime_named_locks 1.0.0-beta.6 copy "runtime_named_locks: ^1.0.0-beta.6" to clipboard
runtime_named_locks: ^1.0.0-beta.6 copied to clipboard

A library for creating and managing named locks which leverages Dart FFI and Native Named Semaphores across across macOS, Linux, and Windows.

1.0.0-beta.1 #

  • Initial release
  • TODO Readme.md

1.0.0-beta.2 #

  • Small bug fix on accessing unavailable error property in unsafe handling
  • Small bug fix on handling error in unsafe execution
  • TODO @tsavo-at-pieces README.md

1.0.0-beta.3 #

  • Error catching now supports both anticipated errors and unknown errors
  • Small bug fix on handling error in unsafe execution
  • Small adjustments leveraging records as metadata on single-set properties
  • Additional unit testing
  • Helper rethrow_() method for rethrowing internally caught errors to the outside world
  • Better handling of Futures that are returned from the callable() callback that is internally executed
  • GitHub Actions CI/CD for Testing on MacOS (x86_64 and arm64), Linux (x86_64)
  • TODO: @tsavo-at-pieces README.md
  • TODO: Leveraging NamedLocks directly i.e. outside the NamedLock.guard() function
  • TODO: WindowsNamedLock implementation

1.0.0-beta.4 #

  • TODO DONE: @tsavo-at-pieces README.md
  • TODO DONE: WindowsNamedLock implementation
  • Updated runtime_native_semaphores dependency from 1.0.0-beta.3 to 1.0.0-beta.6
  • Update GH Actions Steps i.e. @actions/checkout from v4.1.1 to use v4.1.4 and @dart-lang/setup-dart from v1.5.0 to use v1.6.4
  • All tests passing on MacOS (x86_64 and arm64), Linux (x86_64), Windows (x86_64) 🎉
  • TODO: Leveraging NamedLocks directly i.e. outside the NamedLock.guard() function
  • TODO: Add explicit NamedLocks.guardAsync() method for explicit async executions
  • TODO: In code dartdoc comments for pub.dev API documentation

1.0.0-beta.5 #

  • Implemented String? waiting property on NamedLocks.guard() method to allow for a custom message to be displayed when waiting for the lock to locked by the current process ahead of execution
  • TODO: Leveraging NamedLocks directly i.e. outside the NamedLock.guard() function
  • TODO: Add explicit NamedLocks.guardAsync() method for explicit async executions
  • TODO: In code dartdoc comments for pub.dev API documentation

1.0.0-beta.6 #

  • Additional logging within ExecutionCall for async error catching and rethrowing
  • TODO: Layer in description property on NamedLocks.guard() method to allow for a custom descriptions to be displayed within errors getting thrown or steps being logged
  • TODO: Leveraging NamedLocks directly i.e. outside the NamedLock.guard() function
  • TODO: Add explicit NamedLocks.guardAsync() method for explicit async executions
  • TODO: In code dartdoc comments for pub.dev API documentation
3
likes
120
pub points
7%
popularity

Publisher

verified publisherruntime.dev

A library for creating and managing named locks which leverages Dart FFI and Native Named Semaphores across across macOS, Linux, and Windows.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

runtime_native_semaphores, stack_trace

More

Packages that depend on runtime_named_locks