Repository navigation
3.0.0 Beta 1
Pre-release
Pre-release
What's Changed
- Added an optional
Cancellationparameter to theacquire()method on theMutex,Semaphore,KeyedMutex, andKeyedSemaphoreinterfaces - Added an optional
Cancellationparameter to thesynchronized()andunwrap()methods on theParcelinterface - Replaced the variadic arguments parameter
Amp\Sync\synchronizedwith an optionalCancellation. ThisCancellationinstance 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