Skip to content

Add typed queue APIs and scoped subqueues - #30

Merged
rybakit merged 2 commits into
masterfrom
feat/typed-queue-api
Oct 23, 2026
Merged

rybakit merged 2 commits into
masterfrom
feat/typed-queue-api

Conversation

@rybakit

@rybakit rybakit commented Oct 23, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Add typed queue classes and named factories for the built-in drivers.
  • Keep the generic Queue API with option arrays, and return ?Task from put() for drivers that may decline a task.
  • Add a Subqueue object for subqueuettl, binding the subqueue name once. Names remain dynamic and are registered by the driver when tasks are put.
  • Document typed and generic APIs, including the fact that typed classes do not verify server-side tube configuration.

This addresses the API concerns raised in #22 and provides a scoped subqueue API for the driver in #28.

@rybakit
rybakit marked this pull request as ready for review October 23, 2026 12:41
@rybakit
rybakit merged commit dda376c into master Oct 23, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant