Skip to content

v0.1.13

Choose a tag to compare

@github-actions github-actions released this 26 Sep 11:45
· 29 commits to main since this release
ea0a1f7

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.