NodeRequest

class NodeRequest(val requestId: Int?, outcome: suspend () -> Int?)(source)

A node request the radio admitted.

awaitRoutingError suspends until the request settles and returns the Routing.Error value that failed it, or null when it was answered, went unanswered, or lost its link. requestId is the wire ID when the sender knows it.

Constructors

Link copied to clipboard
constructor(requestId: Int?, outcome: suspend () -> Int?)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard
suspend fun awaitRoutingError(): Int?