onboardUser.ts
Primitives
Run
Run any piece of work once, and only once. Then use what it returns as many times as you want, even days later.
Sleep
Pause for a minute, a week, or a whole year. Walk away, and nothing runs until your workflow wakes up on its own.
Wait
Hold until the event that matters arrives. Then carry on with its details in hand, as if you never left.
Concurrency
Set how many runs can go at once. The rest wait their turn in order. Your app is never swamped, and no run is lost.
Scores
Score each run right in your code. Watch the scores over time, and catch a drop the day it starts.
Start here
Quickstart
Run your first workflow in a few minutes.
How it works
See how a run gets through crashes, deploys, and long pauses.