Skip to content

Interface: ObjectOrdering ​

Releases a request's objects in location order, however the publisher maps them to streams or datagrams. An object goes out once its predecessor has; IDs are taken to increase by 1 unless a Prior Group ID Gap or Prior Object ID Gap says otherwise. An object whose predecessor is missing waits within window, then the client releases what it holds up to it and reports the skipped locations with orderinggap. Requests with descending group order are left unordered.

Properties ​

onWindowExceeded? ​

optional onWindowExceeded?: "flush" | "drop"

What happens to an object that arrives after the client stopped waiting for it: released anyway (default) or dropped.


sparseGroupIds? ​

optional sparseGroupIds?: boolean

Group IDs may skip without a Prior Group ID Gap.


sparseObjectIds? ​

optional sparseObjectIds?: boolean

Object IDs may skip without a Prior Object ID Gap.


window ​

window: object

How long an object may wait, and how many may be held, before the client stops waiting.

durationMs? ​

optional durationMs?: number

objects? ​

optional objects?: number