@ckirg/corelib - v0.4.1
    Preparing search index...

    Function nextCid

    • Returns the next process-wide monotonic correlation id. Used to pair a flight-recorder operation's start line (e.g. query: exec, poll: start) with its terminus (query: ok / poll: done / *: error). Cheap (one int++), globally unique across all corelib packages so two interleaved operations never share an id. For cross-operation tracing, pair this with a higher-level traceId threaded by the consuming application.

      Returns number