Skip to main content

ScheduleAction()

type ScheduleAction = (delay, phone) => Promise<void>;

A function that schedules an action to be executed in the future

Parameters

ParameterTypeDescription
delayDate– a date when the action should be executed use delayFactory to create a date
phonestring– user's phone

Returns

Promise<void>