Skip to main content
sessions.Scheduler Not exported: an exported type refers to it.

Methods

runAfter

▸ runAfter<FuncRef>(delayMs, functionReference, ...args): Promise<Id<"_scheduled_functions">>

Type parameters

Parameters

Returns

Promise<Id<"_scheduled_functions">>

runAt

▸ runAt<FuncRef>(timestamp, functionReference, ...args): Promise<Id<"_scheduled_functions">>

Type parameters

Parameters

Returns

Promise<Id<"_scheduled_functions">>

cancel

▸ cancel(id): Promise<void>

Parameters

Returns

Promise<void>