Skip to content

3.0.0 Beta 1

Pre-release
Pre-release

Choose a tag to compare

@trowski trowski released this 31 Oct 18:24
v3.0.0-beta.1
a696058

What's Changed

  • Added an optional Cancellation parameter to the acquire() method on the Mutex, Semaphore, KeyedMutex, and KeyedSemaphore interfaces
  • Added an optional Cancellation parameter to the synchronized() and unwrap() methods on the Parcel interface
  • Replaced the variadic arguments parameter Amp\Sync\synchronized with an optional Cancellation. This Cancellation instance is passed as a parameter to the closure provided.

All implementations of the above modified interfaces have been updated to support optional cancellation. Like other interfaces which support optional cancellation, a cancellation need only be advisory, it may be ignored or does not need to guarantee cancellation of an operation.

Full Changelog: v2.3.1...v3.0.0-beta.1