You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
Queue disciplines for Store (#4): putQueueDiscipline and getQueueDiscipline options ('fifo' | 'lifo' | 'priority', or { type, tieBreaker }) order the processes waiting to put into a full store or waiting for a matching item. store.put(item, priority?) and store.get(filter?, priority?) accept an optional priority (lower = served first, default 0). Existing calls are unchanged; the default stays FIFO on both queues. Completes queue discipline support across Resource, Buffer and Store.
Internal
Queue insertion logic is shared between Buffer and Store via insertByDiscipline() in src/types/queue-discipline.ts.