awaitUntilTake

open suspend override fun awaitUntilTake()

Wait until a token is available.


open suspend override fun awaitUntilTake(key: String)

Wait until a token for the given key is available.

Parameters

key

the key to use to take the token