|
|
@@ -473,6 +473,7 @@ declare class Session {
|
|
|
): Session;
|
|
|
/**
|
|
|
* Return the immutable event stored at one exact sequence number.
|
|
|
+ * @deprecated Existing logic may remain unmigrated for now, but new calls are prohibited.
|
|
|
* @param seq - event sequence number.
|
|
|
* @returns the accepted event, or undefined when the log does not contain it.
|
|
|
*/
|
|
|
@@ -481,6 +482,7 @@ declare class Session {
|
|
|
* Materialize an immutable snapshot of a half-open event sequence range.
|
|
|
* A full current snapshot is reused until the next append; every previously
|
|
|
* returned snapshot remains stable after later appends.
|
|
|
+ * @deprecated Existing logic may remain unmigrated for now, but new calls are prohibited.
|
|
|
* @param fromSeq - non-negative inclusive sequence number; defaults to the log start.
|
|
|
* @param toSeqExclusive - non-negative exclusive sequence number; defaults to the current end.
|
|
|
* @returns a frozen array of the selected deeply frozen events.
|
|
|
@@ -491,6 +493,7 @@ declare class Session {
|
|
|
): readonly SessionEvent[];
|
|
|
/**
|
|
|
* Return this Session's events after its fork-inherited prefix.
|
|
|
+ * @deprecated Existing logic may remain unmigrated for now, but new calls are prohibited.
|
|
|
* @returns a fresh array containing child-owned events in log order.
|
|
|
*/
|
|
|
ownEvents(): readonly SessionEvent[];
|