Async job processing
Reliable background job processing for serverless environments. Schedule one-time or recurring tasks, process webhook payloads asynchronously, and run cron jobs with automatic retries and exponential backoff.
import { sylphx } from '@sylphx/sdk'
await sylphx.jobs.schedule({
url: '/api/process-order',
body: { orderId: '123' },
delay: '5m', // Run in 5 minutes
})await sylphx.jobs.cron({
name: 'daily-report',
url: '/api/send-report',
schedule: '0 9 * * *', // Daily at 9am
})Looking for more examples?
View on GitHub