Are you an LLM? You can read better optimized documentation at /documentation/api/client/type-aliases/HistoryEntry.md for this page in Markdown format
ws-asyncapi API / client / HistoryEntry
Type Alias: HistoryEntry<EventMap>
HistoryEntry<
EventMap> ={ [E in keyof EventMap]: { event: E; data: EventMap[E] } }[keyofEventMap]
Defined in: .api-entries/client/index.d.ts:182
One entry from WsClient.history: a discriminated union over the channel's events, so if (entry.event === "message") narrows entry.data.
Type Parameters
EventMap
EventMap