newAnycast
fun newAnycast(scope: CoroutineScope, policy: ErrorRelayPolicy = ErrorRelayPolicy.None): ErrorRelay(source)
Creates an ErrorRelay that relays error information to one of the destinations.
NOTE: Only the latest error information is retained while there are no destinations.
Parameters
scope
CoroutineScope for the relay.
policy
The relay policy for error information.