Skip to content

SqlWindowStore

  • WindowStore
new SqlWindowStore(sql): SqlWindowStore;
Parameter Type

sql

SqlExecutor

SqlWindowStore

get(threadId): Promise<WindowState>;
Parameter Type

threadId

string

Promise<WindowState>

WindowStore.get

recordExpiry(threadId, at): Promise<void>;
Parameter Type

threadId

string

at

Date

Promise<void>

WindowStore.recordExpiry

recordInbound(threadId, ts): Promise<void>;
Parameter Type

threadId

string

ts

Date

Promise<void>

WindowStore.recordInbound