method try_acquire
Documentation for method try_acquire assembled from the following types:
class Semaphore
From Semaphore
(Semaphore) method try_acquire
method try_acquire(--> Bool)
Same as acquire but will not block. Instead it returns True if access is permitted or False otherwise.