Field Notes
    Preparing search index...

    Interface SyncHubOptions

    interface SyncHubOptions {
        authority?: AuthorityOptions;
        authorize?: Authorize;
        authorizeLayer?: AuthorizeLayer;
        backend?: HubBackend;
        canRead?: CanRead;
        canReadOwnerId?: CanReadOwnerId;
        fanout?: HubFanout;
        instanceId?: string;
        maxJsonDepth?: number;
        maxMessageBytes?: number;
        maxPresenceBytes?: number;
        maxPresenceLanes?: number;
        opBurst?: number;
        opsPerSecond?: number;
        plugins?: readonly ServerSyncPlugin[];
        presenceThrottleMs?: number;
        resolveAudience?: ResolveAudience;
        roomIdleTimeoutMs?: number;
    }
    Index
    authority?: AuthorityOptions
    authorize?: Authorize
    authorizeLayer?: AuthorizeLayer
    backend?: HubBackend
    canRead?: CanRead
    canReadOwnerId?: CanReadOwnerId
    fanout?: HubFanout
    instanceId?: string
    maxJsonDepth?: number
    maxMessageBytes?: number

    Largest inbound frame the transport accepts; opBatching is advertised only if a full batch fits.

    maxPresenceBytes?: number

    Largest presence.data payload relayed, in UTF-8 bytes of its JSON encoding.

    maxPresenceLanes?: number
    opBurst?: number

    Element op spike allowance per connection.

    opsPerSecond?: number

    Sustained element ops per second per connection, single or batched; over budget closes 4408.

    plugins?: readonly ServerSyncPlugin[]
    presenceThrottleMs?: number
    resolveAudience?: ResolveAudience
    roomIdleTimeoutMs?: number

    Opt-in: drops hub, backend and plugin per-room memory after a room has had no local connection for this long.