Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

RealtimePresenceLeavePayload

type RealtimePresenceLeavePayload<T extends {
[key: string]: any;
}
>
= {
event: `${REALTIME_PRESENCE_LISTEN_EVENTS.LEAVE}`;
key: string;
currentPresences: Presence<T>[];
leftPresences: Presence<T>[];
}
;

§Type Parameters

§
T extends {
[key: string]: any;
}
[src]

§Type

§
{
event: `${REALTIME_PRESENCE_LISTEN_EVENTS.LEAVE}`;
key: string;
currentPresences: Presence<T>[];
leftPresences: Presence<T>[];
}
[src]