Thor-Schedule
Schedule client for thorbuster service
Example
initialize
schedule = require'thor-schedule'initialize req: 'tcp://localhost:5567' sub: 'tcp://localhost:5568' debug: true
schedule
scheduleschedule schedule: Datenow + 1000 callbackData: msg: 'I will be back' : consolelog datamsg==> 'I will be back'
cancel
scheduleschedule schedule: Datenow + 1000 taskId: 'sometitle' : -> consolelog 'You will never see this message' schedulecanceltaskId: 'sometitle'
Licence
MIT