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

    Type Alias Hello

    the worker's answer to a page's spool:hello

    type Hello = {
        compatible: boolean;
        contact?: number;
        lease?: number;
        protocol: number;
        type: "spool:hello";
        version: string;
    }
    Index
    compatible: boolean
    contact?: number

    epoch milliseconds of the worker's last server answer; absent until it has one

    lease?: number

    seconds the browser holds the worker script; absent from a worker built before the lease

    protocol: number
    type: "spool:hello"
    version: string