RTCForge API Reference v1.1.1
    Preparing search index...

    Class SequentialId

    An IdGenerator that yields deterministic, monotonically increasing ids of the form <prefix><n> (e.g. id-1, id-2).

    Primarily intended for tests and snapshots where stable, predictable ids are desirable. Not collision-resistant across separate instances.

    const ids = new SequentialId('peer-')
    ids.next() // 'peer-1'
    ids.next() // 'peer-2'

    Implements

    Index

    Constructors

    Methods

    Constructors

    Methods