I've gone ahead and updated the proposal to change the name from tryWithLock
to withLockIfAvailable
as I think this name reads better with the closure based API. When we get the guard APIs, I think tryLock
would be the better name there, but that's a discussion for another day.
5 Likes