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

    Function randomId

    • Generate a validated-name-friendly id for actions, nodes, sessions, or streams.

      Twelve hex digits, as a11::NewShortId produces on the native side. Every character is a hex digit, so a node id stays <action id>#<port> with exactly one # for the session to split on.

      Parameters

      • prefix: string

      Returns string