Overview
Generates deterministic sequence-id handles per context and manages their lifecycle.
API Reference
Default sequence-id handle containing the source sequence and generated id. Always call dispose() when finished to prevent memory leaks.
import { SequenceWithId } from '@rs-x/core';import { SequenceWithId } from '@rs-x/core';
const instance = new SequenceWithId(...args);2 members in this class.
constructor(
public readonly id: string,
public readonly sequence: readonly unknown[],
private readonly _owner: IDisposableOwner
)Parameters
public dispose(): voidParameters
No parameters.
Returns
void