A11 TypeScript API - v0.2.1
    Preparing search index...

    Class Chunk

    Smallest typed payload carried through an A11 node.

    A chunk contains owned bytes plus optional metadata, or a ref to data held elsewhere. Serialization registries turn application objects into chunks; NodeFragments add identity, sequence, and finality for streaming. An empty octet-stream chunk is the explicit null/end marker used by unary flows.

    Index
    data: Uint8Array
    metadata: ChunkMetadata | null
    ref: string
    • get isNull(): boolean

      Whether this is the explicit null chunk used as a final terminator.

      Returns boolean