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

    Type Alias WriteContext

    what the site's functions receive: the authenticated principal and the id of this flush

    type WriteContext = {
        identity: Identity;
        writeId: string;
    }
    Index
    identity: Identity
    writeId: string

    the Spool-Write-Id of the request; a site may store it with the value to make apply atomic