tryAcquire

abstract fun tryAcquire(): T?(source)

Attempts to acquire the resource.