SelectBuilder
Scope for select invocation.
An instance of SelectBuilder can only be retrieved as a receiver of a select block call, and it is only valid during the registration phase of the select builder. Any uses outside it lead to unspecified behaviour and are prohibited.
The general rule of thumb is that instances of this type should always be used implicitly and there shouldn't be any signatures mentioning this type, whether explicitly (e.g. function signature) or implicitly (e.g. inferred val
type).
Functions
Registers a clause in this select expression without additional parameters that does not select any value.
Registers clause in this select expression without additional parameters that selects value of type Q.
Clause that selects the given block after a specified timeout passes. If timeout is negative or zero, block is selected immediately.
"java.time" adapter method for SelectBuilder.onTimeout.