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

RealtimeSystemPayload

import type { RealtimeSystemPayload } from "https://esm.sh/@supabase/supabase-js@2.110.7/dist/index.d.mts";

Payload of a system event emitted by the server.

Most notably, when a channel is created with config.broadcast.replication_ready: true, the server sends one of these once the Postgres replication connection is ready (status: 'ok') or fails to become ready in time (status: 'error').

type RealtimeSystemPayload = {
extension: "system" | "postgres_changes" | (string & {});
status: "ok" | "error" | (string & {});
message: string;
channel: string;
}
;

§Type

§
{
extension: "system" | "postgres_changes" | (string & {});
status: "ok" | "error" | (string & {});
message: string;
channel: string;
}
[src]