await

suspend fun await()(source)

When await is called the function will suspend until the required number of coroutines have called await. Once the capacity of the barrier has been reached, the coroutine will be released and continue execution.