Skip to main content
This quickstart uses headgate’s in-memory test store. You will register a typed handler, enqueue one job, run the real admission and dispatch path, and verify completion.
Expected output:

Build it yourself

1

Define a typed task

2

Register its handler

3

Create and enqueue an envelope

A durable envelope supplies identity, routing, policy inputs, payload version, and retention. The complete Rust and Go programs are available inside the basic worker example.
4

Drain and verify

testing::drain and Runner.Drain execute the real admission, dispatch, and fenced ack path.
Use the in-memory store for handler and runtime tests. Use isolated live-store helpers when the behavior depends on SQL, Lua, transactions, migrations, inspection, or notifications.

Next steps

Install a production backend

Learn the job lifecycle

Create resumable work

Run all examples