Will be shared between machines, so it must be safe to expose. But software outside the current package should consider it opaque, not depending on its internal structure.

interface PublicationRecord<T> {
    head: IteratorResult<T, any>;
    publishCount: bigint;
    tail: Promise<PublicationRecord<T>>;
}

Type Parameters

  • T

Properties

head: IteratorResult<T, any>
publishCount: bigint

starts at 1 for the first result and advances by 1 for each subsequent result

tail: Promise<PublicationRecord<T>>