notify

suspend fun notify(id0: ID0, id1: ID1, data: VR)

Notifies the exchange with a response for the given id0 and id1.

  • The response data is stored in the receive table, making it available to a waiting waitFor call.

  • The corresponding request entry in the send table is dropped.

If no waiter is active for (id0, id1), the response will still be written, but is typically dropped during cleanup if never consumed.

Parameters

id0

the outer identifier

id1

the inner identifier

data

the response payload