try()
Attempts to acquire a lock without regard to the receiver’s condition.
Declaration
func `try`() -> BoolReturn Value
Discussion
This method returns immediately.
Attempts to acquire a lock without regard to the receiver’s condition.
func `try`() -> BoolThis method returns immediately.