const dynamicSchedule = new DynamicSchedule(client, {
  id: "dynamicinterval",
});

Parameters

client
TriggerClient
required

The TriggerClient instance to use for registering the trigger.

options
DynamicScheduleOptions
required

The options for the dynamic schedule.

id
string
required

Used to uniquely identify a DynamicSchedule

Returns

DynamicSchedule instance
DynamicSchedule