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

    Class ActionMessage

    Wire description of one action invocation.

    The receiving session resolves name through its registry, maps the concrete input/output node ids, applies headers, and then starts the handler. Streamed values travel separately as NodeFragments in WireMessages.

    Index
    headers: ByteMap

    Call-scoped binary headers.

    id: string

    Stable action-call id.

    inputs: Port[]

    Input port mappings.

    name: string

    Registered action name.

    outputs: Port[]

    Output port mappings.

    • get approxBytes(): number

      Approximate encoded field and payload size.

      Returns number

    • Encode the concatenated MessagePack action record.

      Returns StatusOr<Uint8Array<ArrayBufferLike>>