Reliable Job Processing

Scalable Background Workers On-Demand

Offload heavy tasks, manage job queues, and ensure reliable asynchronous execution for your applications with a simple, powerful API. No infrastructure to manage.

Join waitlist

worker.do

import { Worker } from '@do/sdk';

// Initialize the worker service with your API key
const worker = new Worker('YOUR_API_KEY');

// Define the task payload
const payload = {
  userId: 'usr_1a2b3c',
  reportType: 'monthly_sales',
  format: 'pdf'
};

// Enqueue a new job to be processed asynchronously
const job = await worker.enqueue({
  queue: 'reports',
  task: 'generate-report',
  payload: payload,
  retries: 3
});

console.log(`Job ${job.id} has been successfully enqueued.`);

Deliver economically valuable work

Frequently Asked Questions

Do Work. With AI.