API Reference honker v#0.1.4
Copy MarkdownModules
A Honker database handle. Wraps the Exqlite reference + a registry of per-queue options (visibility timeout, max attempts).
A claimed unit of work. Use the lifecycle helpers
(ack/2, retry/4, fail/3, heartbeat/3) to close it out.
Advisory locks on top of honker_lock_* SQL functions. Elixir has no
RAII, so the caller manages the lock lifetime explicitly
Transactional side-effect delivery built on a reserved Honker queue.
Named queue operations. All methods take a Honker.Database and
the queue name as the first two args.
Time-trigger task registry. Thin wrapper over honker_scheduler_*
SQL functions, plus a blocking run/3 loop with leader election via
the honker-scheduler advisory lock.
Append-only topic log with named-consumer offsets. Thin wrapper over
honker_stream_* SQL functions.
An event read from a Honker stream. payload is decoded from JSON;
key is nil when the event was published without a partition key.
A SQLite transaction handle. Wraps the underlying Exqlite connection
while a transaction is open so *_tx helpers (e.g.
Honker.Queue.enqueue_tx/5, Honker.Stream.publish_tx/4) can take
it as an explicit parameter.