cogsworth-schedule
Schedule
is an optional but recommended base class for using schedules in cogsworth.
Any schedules you pass to cogsworth will eventually be cast into a Schedule instance.
It provides very little value outside of providing a default id.
A schedule of cogsworth has an id
, a trigger
, & a tourist
. tourist
is additional data that you can pass that cogsworth takes along for the ride!
usage
var Schedule = var schedule = id: 'some_id' trigger: <Trigger> tourist: ...