StrLock
Functions
Create a new Lock derived from this Lock. The new lock should have a unique identity (it should not be equivalent to any other lock) but should be obviously associated with this one.
Create a new Lock derived from this Lock. The new lock should have a unique identity (it should not be equivalent to any other lock) but should be obviously associated with this one. The provided annotation may optionally be used to provide additional information.
A name that could be used to refer to this lock in error messages or logs. Hopefully descriptive enough to locate when problems occur.
Called internally when this lock is explicitly transferred to another Task. Transferring locks prevents 'lock stealing' during the small transition period due to .then()
.