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

RealtimePresenceLeavePayload

import type { RealtimePresenceLeavePayload } from "https://esm.sh/@supabase/supabase-js@2.89.0/dist/index.d.mts";
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]