method DurableObjectBackplane.prototype.publish
DurableObjectBackplane.prototype.publish(frame: RealtimeFrame): Promise<void>

Publishes a frame to every other subscribed replica.

Parameters

frame: RealtimeFrame

The frame to publish

Return Type

Promise<void>

Throws

CloudflareUnsupportedError

When the socket cannot be opened

Usage

import { DurableObjectBackplane } from "cloudflare-plugin/src/index.ts";