Home > @rainway/web > DataChannelEvents
DataChannelEvents interface
Signature:
export interface DataChannelEvents
Properties
| Property | Type | Description |
|---|---|---|
| close | () => void | Promise<void> | Raised when the data channel is closed |
Methods
| Method | Description |
|---|---|
| message(data) | Raised when a message arrives via the data channel |
