Absurd
@keeb/absurdv2026.05.27.1
01README
Drive an Absurd Postgres-based durable-execution task queue from swamp — spawn tasks, poll status, await results, emit events, cancel, and list.
02Models
@keeb/absurdv2026.05.27.1absurd.ts
fn spawn(taskName: string)
Spawn a task onto the queue (Absurd absurd.spawn_task). Writes a
| Argument | Type | Description |
|---|---|---|
| taskName | string | Name of the task to spawn. |
fn status(taskId: string)
Query a task's current state (Absurd absurd.get_task_result) and
| Argument | Type | Description |
|---|---|---|
| taskId | string | UUID of the task to inspect. |
fn result(taskId: string)
Fetch a completed task's result payload (Absurd
| Argument | Type | Description |
|---|---|---|
| taskId | string | UUID of the task. |
fn awaitResult(taskId: string)
Block until a task reaches a terminal state (completed/failed/
| Argument | Type | Description |
|---|---|---|
| taskId | string | UUID of the task to await. |
fn emitEvent(eventName: string)
Emit an event into the queue (Absurd absurd.emit_event). Payloads
| Argument | Type | Description |
|---|---|---|
| eventName | string | Name of the event to emit. |
fn cancel(taskId: string)
Cancel a task (Absurd absurd.cancel_task) and persist its updated
| Argument | Type | Description |
|---|---|---|
| taskId | string | UUID of the task to cancel. |
fn listTasks()
List tasks on the queue, optionally filtered by state. Reads the
Resources
task(infinite)— Snapshot of an Absurd task (spawn/status/result/cancel).
event(infinite)— Record of an event emitted into the queue.
taskList(infinite)— Snapshot of a queue's task listing.
03Stats
A
100 / 100
Downloads
0
Archive size
35.2 KB
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned
Repository
https://github.com/keeb/swamp-absurd04Platforms
05Labels