cogsworth-schedule
v0.0.5
Published
easy & capable scheduling for node & the browser
Downloads
9
Maintainers
Readme
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 = require('cogsworth-schedule')
var schedule = new Schedule({
[id]: 'some_id',
trigger: <Trigger>,
[tourist]: { ... }
})