[]previous and next page

MemoryErrorContext

Where an error reported by the memory adapter came from.

Where an error reported by the memory adapter came from.

Import#

ts
import type { MemoryErrorContext } from "@shadow-js/realtime/server";

Signature#

ts
interface MemoryErrorContext {
  /** `"listener"` (a message listener) or `"presenceListener"`. */
  readonly where: "listener" | "presenceListener";
  readonly channel: string;
}

Members#

Name Type Description
where readonly where: "listener" | "presenceListener" "listener" (a message listener) or "presenceListener".
channel readonly channel: string