@netscript/queue@0.0.10Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
A provider-agnostic message queue for NetScript: enqueue and drain background jobs through one MessageQueue contract, auto-discovering a RabbitMQ, Redis, or Deno KV backend from the Aspire environment.
Queue Error Types
Standardized error handling for queue operations.
Classes
Error thrown when queue configuration is invalid.
Error thrown when queue connection fails.
Base error class for all queue operations.
Error thrown when message handler fails.
Error thrown by a handler when delivery settlement cannot be persisted and the queue adapter must retain the native receipt without acknowledging the message or issuing a counted requeue.
- retainReceipt: boolean
Marker inspected by queue adapters to retain the receipt without counted requeue.
Error thrown when message validation fails.
Enums
Error codes for queue operations.
Functions
Return whether an error instructs queue adapters to retain the native receipt without acknowledging the delivery or issuing a counted requeue.