The job queue: triggering plugins from outside
- 01 IntroductionThe job queue lets another program (a shell script, a phone shortcut, a home...
- 02 In your pluginfn(args) may be async. Its return value becomes result (undefined/null -> {}).
- 03 From outsideThe POST body is raw JSON (no Content-Type needed, but sending...
- 04 Rules and limitsSlots: 6 jobs in total across all plugins. When full: 503 {"error":"job...
- 05 The executor protocol (if you write your own executor)You normally don't need this, because plugin-host.js does it for you.
- 06 Tips/plugins-run reloads itself every 10 s if the plugin list fails to load,...
- 99 Whole chapter in one fileThe job queue lets another program (a shell script, a phone shortcut, a home...