OrpcSocketExtraType
Meta of the event, passed to the listeners as
extra
.
The server sets it with
withEventMeta(value, { id, retry })
.
Import
import { OrpcSocketExtraType } from "@hyper-fetch/orpc"
Source
Package
Preview
type OrpcSocketExtraType = {
id: string | undefined;
retry: number | undefined;
}
Structure
OrpcSocketExtraType
| Name | Type | Description |
|---|---|---|
| id | | Id of the event. It is sent back as
|
| retry | | Delay in milliseconds the server asks for before the subscription starts again after a failure |

