Skip to content

ScheduleHost

cancelSchedule(id): Promise<void>;
Parameter Type

id

string

Promise<void>


schedule<T>(
when,
callback,
payload?,
options?): Promise<{
id: string;
}>;
Type Parameter Default type

T

JsonValue

Parameter Type

when

string | number | Date

callback

string

payload?

T

options?

{ idempotent?: boolean; }

options.idempotent?

boolean

Promise<{ id: string; }>