Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
const IronWorker = require('iron_worker');
const worker = new IronWorker.Client({
token: process.env.IRON_TOKEN,
project_id: process.env.IRON_PROJECT_ID,
const payload = { first: 'Hello', second: 'World' };
const options = { priority: 1 };
worker.tasksCreate('HelloWorld', payload, options, function(error, body) {});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.