Skip to main content

index/type-aliases/FeedTokenEvent.md

FeedTokenEvent = { [K in FeedTokenEventName]: { data: RealtimeEventPayloads[K]; event: K } }[FeedTokenEventName]

One occurrence of a global feed token event, named: subscribeFeedTokenEvents hands these to one callback, which tells them apart by event instead of by the shape of the payload.