* Sends a message to the other end. May optionally return a promise; if the promise rejects, * the session is aborted.
(message: string)
| 22 | * the session is aborted. |
| 23 | */ |
| 24 | send(message: string): void | Promise<void>; |
| 25 | |
| 26 | /** |
| 27 | * Receives a message sent by the other end. |
no outgoing calls