Skip to content

readHistoryPage

This content is not available in your language yet.

function readHistoryPage(
store,
sessionId,
options?
): Promise<HistoryPage | null>;

休眠会话分页读:store.getHistoryPage 在场且 limit 给定 → 交给 store(段跳读); 否则 get 全量后切片(limit 缺席 = 全量,本就要整卷)。会话不存在 → null。

SessionStore

string

HistoryPageOptions

Promise<HistoryPage | null>