docs: correct the dead-output component count from 11 to 9
Counted from source: the 22 remaining outputs sit in 9 components, not 11. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import type { Context } from "@wrnexus/core";
|
||||
import { exportSubjectContext, importSubjectContext, type SubjectContext } from "@wrnexus/rpc";
|
||||
import type { AddOptions, Job, Queue } from "./index.ts";
|
||||
import type { DurableQueue } from "./durable.ts";
|
||||
|
||||
const QUEUE_AUDIENCE = "wrnexus-queue";
|
||||
interface SubjectEnvelope<T> {
|
||||
@@ -27,7 +28,8 @@ export interface SubjectQueue {
|
||||
}
|
||||
|
||||
/** Queue adapter that persists a signed end-user context alongside job data. */
|
||||
export function subjectQueue(queue: Queue): SubjectQueue {
|
||||
/** Works with both the in-memory Queue and createDurableQueue(). */
|
||||
export function subjectQueue(queue: Queue | DurableQueue): SubjectQueue {
|
||||
return {
|
||||
async add(ctx, name, data, options) {
|
||||
const identity = await exportSubjectContext(ctx, QUEUE_AUDIENCE);
|
||||
|
||||
Reference in New Issue
Block a user