object Locker
- Companion:
- class
Value members
Concrete methods
Deprecated methods
@deprecated("Use Locker(k, a)", since = "3.1.0")
Put a single value into a Locker
Put a single value into a Locker
- Deprecated
[Since version 3.1.0]
@deprecated("Use l.unlock(k)", since = "3.1.0")
Retrieve the value from the Locker. If the reference equality instance backed by a Unique
value is the same then
allows conversion to that type, otherwise as it does not match then this will be None
Retrieve the value from the Locker. If the reference equality instance backed by a Unique
value is the same then
allows conversion to that type, otherwise as it does not match then this will be None
- Value parameters:
- k
The key to check, if the internal Unique value matches then this Locker can be unlocked as the specifed value
- l
The locked to check against
- Deprecated
[Since version 3.1.0]