@nats-io/nats-core
    Preparing search index...

    Class Nuid

    Nuid is a class that generates unique identifiers.

    Index

    Constructors

    Methods

    Constructors

    • Returns Nuid

    Methods

    • Returns the next nuid.

      Returns string

    • Resets the prefix and counter for the nuid. This is typically called automatically from within next() if the current sequence exceeds the resolution of the nuid.

      Returns void