Skip to content
@drupflare/spool v1.0.0 GitHub
    Preparing search index...

    Type Alias DurableObjectHubOptions

    the options of durableObjectHub

    type DurableObjectHubOptions = {
        hibernate?: boolean;
        name?: string;
    }
    Index
    hibernate?: boolean

    Accept a page's WebSocket upgrade with the Hibernation API instead of holding an SSE response. The site's config then tells pages to open a socket, and a page whose upgrade fails falls back to SSE. Default false.

    name?: string

    which instance of the namespace holds the streams; default spool