@moq/net 0.4.7 → 0.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -1
- package/announce.d.ts +1 -1
- package/announce.d.ts.map +1 -1
- package/announce.js +1 -2
- package/announce.js.map +1 -1
- package/announced.d.ts +51 -47
- package/announced.d.ts.map +1 -1
- package/announced.js +183 -32
- package/announced.js.map +1 -1
- package/announced.test-util.d.ts +2 -0
- package/announced.test-util.d.ts.map +1 -0
- package/announced.test-util.js +27 -0
- package/announced.test-util.js.map +1 -0
- package/auth.d.ts +64 -0
- package/auth.d.ts.map +1 -0
- package/auth.js +20 -0
- package/auth.js.map +1 -0
- package/auth_gate.d.ts +2 -0
- package/auth_gate.d.ts.map +1 -0
- package/auth_gate.js +24 -0
- package/auth_gate.js.map +1 -0
- package/auth_session.d.ts +49 -0
- package/auth_session.d.ts.map +1 -0
- package/auth_session.js +1097 -0
- package/auth_session.js.map +1 -0
- package/bandwidth.d.ts +129 -25
- package/bandwidth.d.ts.map +1 -1
- package/bandwidth.js +410 -139
- package/bandwidth.js.map +1 -1
- package/bandwidth_api.d.ts +1 -1
- package/bandwidth_api.d.ts.map +1 -1
- package/bandwidth_api.js +1 -2
- package/bandwidth_api.js.map +1 -1
- package/broadcast.d.ts +64 -38
- package/broadcast.d.ts.map +1 -1
- package/broadcast.js +556 -173
- package/broadcast.js.map +1 -1
- package/cache.d.ts +103 -0
- package/cache.d.ts.map +1 -0
- package/cache.js +254 -0
- package/cache.js.map +1 -0
- package/claim.test-util.d.ts +5 -0
- package/claim.test-util.d.ts.map +1 -0
- package/claim.test-util.js +13 -0
- package/claim.test-util.js.map +1 -0
- package/connection/accept.d.ts +21 -13
- package/connection/accept.d.ts.map +1 -1
- package/connection/accept.js +97 -130
- package/connection/accept.js.map +1 -1
- package/connection/browser.d.ts.map +1 -1
- package/connection/browser.js +28 -20
- package/connection/browser.js.map +1 -1
- package/connection/connect.d.ts +120 -24
- package/connection/connect.d.ts.map +1 -1
- package/connection/connect.js +535 -217
- package/connection/connect.js.map +1 -1
- package/connection/dials.d.ts +45 -0
- package/connection/dials.d.ts.map +1 -0
- package/connection/dials.js +109 -0
- package/connection/dials.js.map +1 -0
- package/connection/endpoint.d.ts +60 -0
- package/connection/endpoint.d.ts.map +1 -0
- package/connection/endpoint.js +114 -0
- package/connection/endpoint.js.map +1 -0
- package/connection/forward.d.ts +7 -1
- package/connection/forward.d.ts.map +1 -1
- package/connection/forward.js +265 -81
- package/connection/forward.js.map +1 -1
- package/connection/goaway.d.ts +16 -9
- package/connection/goaway.d.ts.map +1 -1
- package/connection/goaway.js +22 -95
- package/connection/goaway.js.map +1 -1
- package/connection/handshake.d.ts +34 -8
- package/connection/handshake.d.ts.map +1 -1
- package/connection/handshake.js +97 -21
- package/connection/handshake.js.map +1 -1
- package/connection/index.d.ts +4 -7
- package/connection/index.d.ts.map +1 -1
- package/connection/index.js +1 -3
- package/connection/index.js.map +1 -1
- package/connection/liveness.d.ts +14 -0
- package/connection/liveness.d.ts.map +1 -0
- package/connection/liveness.js +30 -0
- package/connection/liveness.js.map +1 -0
- package/connection/pool.d.ts +142 -63
- package/connection/pool.d.ts.map +1 -1
- package/connection/pool.js +281 -118
- package/connection/pool.js.map +1 -1
- package/connection/reload.d.ts +60 -12
- package/connection/reload.d.ts.map +1 -1
- package/connection/reload.js +859 -234
- package/connection/reload.js.map +1 -1
- package/connection/session.d.ts +91 -0
- package/connection/session.d.ts.map +1 -0
- package/connection/session.js +2 -0
- package/connection/session.js.map +1 -0
- package/connection/stats.d.ts +20 -11
- package/connection/stats.d.ts.map +1 -1
- package/connection/stats.js +64 -9
- package/connection/stats.js.map +1 -1
- package/connection/ticker.d.ts +4 -0
- package/connection/ticker.d.ts.map +1 -0
- package/connection/ticker.js +66 -0
- package/connection/ticker.js.map +1 -0
- package/connection/tokens.d.ts +2 -0
- package/connection/tokens.d.ts.map +1 -0
- package/connection/tokens.js +404 -0
- package/connection/tokens.js.map +1 -0
- package/connection/transport.d.ts.map +1 -1
- package/connection/transport.js +4 -5
- package/connection/transport.js.map +1 -1
- package/connection/withdrawal.d.ts +2 -0
- package/connection/withdrawal.d.ts.map +1 -0
- package/connection/withdrawal.js +23 -0
- package/connection/withdrawal.js.map +1 -0
- package/consume.js +213 -47
- package/consume.js.map +1 -1
- package/cover.d.ts +59 -0
- package/cover.d.ts.map +1 -0
- package/cover.js +375 -0
- package/cover.js.map +1 -0
- package/datagram.d.ts +70 -11
- package/datagram.d.ts.map +1 -1
- package/datagram.js +317 -2
- package/datagram.js.map +1 -1
- package/datagram_stream.d.ts +18 -0
- package/datagram_stream.d.ts.map +1 -0
- package/datagram_stream.js +67 -0
- package/datagram_stream.js.map +1 -0
- package/defined.test-util.d.ts +2 -0
- package/defined.test-util.d.ts.map +1 -0
- package/defined.test-util.js +7 -0
- package/defined.test-util.js.map +1 -0
- package/delivered.d.ts +75 -0
- package/delivered.d.ts.map +1 -0
- package/delivered.js +228 -0
- package/delivered.js.map +1 -0
- package/demand.d.ts +173 -0
- package/demand.d.ts.map +1 -0
- package/demand.js +582 -0
- package/demand.js.map +1 -0
- package/drops.d.ts +93 -0
- package/drops.d.ts.map +1 -0
- package/drops.js +283 -0
- package/drops.js.map +1 -0
- package/error.d.ts +120 -21
- package/error.d.ts.map +1 -1
- package/error.js +230 -38
- package/error.js.map +1 -1
- package/errors.d.ts +2 -2
- package/errors.d.ts.map +1 -1
- package/errors.js +2 -3
- package/errors.js.map +1 -1
- package/fill.d.ts +174 -0
- package/fill.d.ts.map +1 -0
- package/fill.js +760 -0
- package/fill.js.map +1 -0
- package/flate/decoder.d.ts +2 -0
- package/flate/decoder.d.ts.map +1 -0
- package/flate/decoder.js +63 -0
- package/flate/decoder.js.map +1 -0
- package/flate/encoder.d.ts +2 -0
- package/flate/encoder.d.ts.map +1 -0
- package/flate/encoder.js +64 -0
- package/flate/encoder.js.map +1 -0
- package/flate/group.d.ts +34 -0
- package/flate/group.d.ts.map +1 -0
- package/flate/group.js +140 -0
- package/flate/group.js.map +1 -0
- package/frame.d.ts +80 -0
- package/frame.d.ts.map +1 -0
- package/frame.js +296 -0
- package/frame.js.map +1 -0
- package/frame.test-util.d.ts +5 -0
- package/frame.test-util.d.ts.map +1 -0
- package/frame.test-util.js +9 -0
- package/frame.test-util.js.map +1 -0
- package/group.d.ts +108 -45
- package/group.d.ts.map +1 -1
- package/group.js +1616 -308
- package/group.js.map +1 -1
- package/group_api.d.ts +7 -0
- package/group_api.d.ts.map +1 -0
- package/group_api.js +7 -0
- package/group_api.js.map +1 -0
- package/hop.d.ts +62 -76
- package/hop.d.ts.map +1 -1
- package/hop.js +92 -65
- package/hop.js.map +1 -1
- package/identity.d.ts +39 -0
- package/identity.d.ts.map +1 -0
- package/identity.js +47 -0
- package/identity.js.map +1 -0
- package/ietf/active_count.d.ts +2 -0
- package/ietf/active_count.d.ts.map +1 -0
- package/ietf/active_count.js +30 -0
- package/ietf/active_count.js.map +1 -0
- package/ietf/aliases.js +69 -36
- package/ietf/aliases.js.map +1 -1
- package/ietf/cluster.d.ts +3 -3
- package/ietf/cluster.js +14 -55
- package/ietf/cluster.js.map +1 -1
- package/ietf/connection.d.ts +1 -31
- package/ietf/connection.d.ts.map +1 -1
- package/ietf/connection.js +305 -144
- package/ietf/connection.js.map +1 -1
- package/ietf/datagram.d.ts +60 -0
- package/ietf/datagram.d.ts.map +1 -0
- package/ietf/datagram.js +152 -0
- package/ietf/datagram.js.map +1 -0
- package/ietf/error.d.ts +3 -3
- package/ietf/error.js +82 -101
- package/ietf/error.js.map +1 -1
- package/ietf/fetch.d.ts +93 -37
- package/ietf/fetch.d.ts.map +1 -1
- package/ietf/fetch.js +172 -94
- package/ietf/fetch.js.map +1 -1
- package/ietf/filter.d.ts +21 -31
- package/ietf/filter.d.ts.map +1 -1
- package/ietf/filter.js +140 -172
- package/ietf/filter.js.map +1 -1
- package/ietf/goaway.d.ts +12 -10
- package/ietf/goaway.d.ts.map +1 -1
- package/ietf/goaway.js +22 -36
- package/ietf/goaway.js.map +1 -1
- package/ietf/hidden.js +1 -2
- package/ietf/hidden.js.map +1 -1
- package/ietf/index.d.ts +8 -20
- package/ietf/index.d.ts.map +1 -1
- package/ietf/index.js +4 -15
- package/ietf/index.js.map +1 -1
- package/ietf/join.d.ts +7 -0
- package/ietf/join.d.ts.map +1 -0
- package/ietf/join.js +234 -0
- package/ietf/join.js.map +1 -0
- package/ietf/message.d.ts +18 -2
- package/ietf/message.d.ts.map +1 -1
- package/ietf/message.js +60 -41
- package/ietf/message.js.map +1 -1
- package/ietf/message.test-util.d.ts +6 -0
- package/ietf/message.test-util.d.ts.map +1 -0
- package/ietf/message.test-util.js +13 -0
- package/ietf/message.test-util.js.map +1 -0
- package/ietf/namespace.d.ts +19 -5
- package/ietf/namespace.d.ts.map +1 -1
- package/ietf/namespace.js +78 -27
- package/ietf/namespace.js.map +1 -1
- package/ietf/object.d.ts +195 -33
- package/ietf/object.d.ts.map +1 -1
- package/ietf/object.js +405 -179
- package/ietf/object.js.map +1 -1
- package/ietf/parameters.d.ts +25 -45
- package/ietf/parameters.d.ts.map +1 -1
- package/ietf/parameters.js +260 -473
- package/ietf/parameters.js.map +1 -1
- package/ietf/priority.d.ts +17 -2
- package/ietf/priority.d.ts.map +1 -1
- package/ietf/priority.js +19 -5
- package/ietf/priority.js.map +1 -1
- package/ietf/properties.d.ts +6 -5
- package/ietf/properties.d.ts.map +1 -1
- package/ietf/properties.js +78 -49
- package/ietf/properties.js.map +1 -1
- package/ietf/publish.d.ts +25 -33
- package/ietf/publish.d.ts.map +1 -1
- package/ietf/publish.js +45 -140
- package/ietf/publish.js.map +1 -1
- package/ietf/publish_namespace.d.ts +49 -72
- package/ietf/publish_namespace.d.ts.map +1 -1
- package/ietf/publish_namespace.js +66 -185
- package/ietf/publish_namespace.js.map +1 -1
- package/ietf/publisher.js +1800 -601
- package/ietf/publisher.js.map +1 -1
- package/ietf/range.d.ts +2 -0
- package/ietf/range.d.ts.map +1 -0
- package/ietf/range.js +222 -0
- package/ietf/range.js.map +1 -0
- package/ietf/request.d.ts +6 -30
- package/ietf/request.d.ts.map +1 -1
- package/ietf/request.js +41 -79
- package/ietf/request.js.map +1 -1
- package/ietf/request_stream.d.ts +1 -6
- package/ietf/request_stream.d.ts.map +1 -1
- package/ietf/request_stream.js +306 -17
- package/ietf/request_stream.js.map +1 -1
- package/ietf/session.d.ts +41 -0
- package/ietf/session.d.ts.map +1 -0
- package/ietf/session.js +65 -0
- package/ietf/session.js.map +1 -0
- package/ietf/setup.d.ts +5 -30
- package/ietf/setup.d.ts.map +1 -1
- package/ietf/setup.js +6 -118
- package/ietf/setup.js.map +1 -1
- package/ietf/setup_options.d.ts +31 -0
- package/ietf/setup_options.d.ts.map +1 -0
- package/ietf/setup_options.js +138 -0
- package/ietf/setup_options.js.map +1 -0
- package/ietf/solicit.js +4 -15
- package/ietf/solicit.js.map +1 -1
- package/ietf/subscribe.d.ts +52 -45
- package/ietf/subscribe.d.ts.map +1 -1
- package/ietf/subscribe.js +118 -240
- package/ietf/subscribe.js.map +1 -1
- package/ietf/subscribe_namespace.d.ts +16 -79
- package/ietf/subscribe_namespace.d.ts.map +1 -1
- package/ietf/subscribe_namespace.js +30 -202
- package/ietf/subscribe_namespace.js.map +1 -1
- package/ietf/subscriber.js +1839 -537
- package/ietf/subscriber.js.map +1 -1
- package/ietf/token.js +105 -28
- package/ietf/token.js.map +1 -1
- package/ietf/track.d.ts +27 -24
- package/ietf/track.d.ts.map +1 -1
- package/ietf/track.js +48 -62
- package/ietf/track.js.map +1 -1
- package/ietf/version.d.ts +13 -42
- package/ietf/version.d.ts.map +1 -1
- package/ietf/version.js +22 -49
- package/ietf/version.js.map +1 -1
- package/implementation.d.ts +2 -0
- package/implementation.d.ts.map +1 -0
- package/implementation.js +5 -0
- package/implementation.js.map +1 -0
- package/index.d.ts +34 -19
- package/index.d.ts.map +1 -1
- package/index.js +19 -7
- package/index.js.map +1 -1
- package/internal.d.ts +1515 -67
- package/internal.d.ts.map +1 -1
- package/internal.js +557 -80
- package/internal.js.map +1 -1
- package/ledger.d.ts +23 -0
- package/ledger.d.ts.map +1 -0
- package/ledger.js +247 -0
- package/ledger.js.map +1 -0
- package/listing.d.ts +132 -0
- package/listing.d.ts.map +1 -0
- package/listing.js +486 -0
- package/listing.js.map +1 -0
- package/lite/announce.d.ts +127 -66
- package/lite/announce.d.ts.map +1 -1
- package/lite/announce.js +384 -159
- package/lite/announce.js.map +1 -1
- package/lite/announce_stream.d.ts +2 -0
- package/lite/announce_stream.d.ts.map +1 -0
- package/lite/announce_stream.js +92 -0
- package/lite/announce_stream.js.map +1 -0
- package/lite/answer.d.ts +22 -0
- package/lite/answer.d.ts.map +1 -0
- package/lite/answer.js +301 -0
- package/lite/answer.js.map +1 -0
- package/lite/auth.d.ts +45 -0
- package/lite/auth.d.ts.map +1 -0
- package/lite/auth.js +204 -0
- package/lite/auth.js.map +1 -0
- package/lite/compat.d.ts +31 -0
- package/lite/compat.d.ts.map +1 -0
- package/lite/compat.js +86 -0
- package/lite/compat.js.map +1 -0
- package/lite/connection.d.ts +1 -45
- package/lite/connection.d.ts.map +1 -1
- package/lite/connection.js +360 -78
- package/lite/connection.js.map +1 -1
- package/lite/datagram-end.d.ts +26 -0
- package/lite/datagram-end.d.ts.map +1 -0
- package/lite/datagram-end.js +30 -0
- package/lite/datagram-end.js.map +1 -0
- package/lite/datagram.d.ts +73 -8
- package/lite/datagram.d.ts.map +1 -1
- package/lite/datagram.js +144 -10
- package/lite/datagram.js.map +1 -1
- package/lite/duration.d.ts +6 -0
- package/lite/duration.d.ts.map +1 -0
- package/lite/duration.js +14 -0
- package/lite/duration.js.map +1 -0
- package/lite/error.d.ts +9 -0
- package/lite/error.d.ts.map +1 -0
- package/lite/error.js +24 -0
- package/lite/error.js.map +1 -0
- package/lite/fills.d.ts +162 -0
- package/lite/fills.d.ts.map +1 -0
- package/lite/fills.js +486 -0
- package/lite/fills.js.map +1 -0
- package/lite/fit.d.ts +49 -0
- package/lite/fit.d.ts.map +1 -0
- package/lite/fit.js +305 -0
- package/lite/fit.js.map +1 -0
- package/lite/goaway.d.ts +2 -2
- package/lite/goaway.d.ts.map +1 -1
- package/lite/goaway.js +5 -14
- package/lite/goaway.js.map +1 -1
- package/lite/group.d.ts +67 -16
- package/lite/group.d.ts.map +1 -1
- package/lite/group.js +108 -31
- package/lite/group.js.map +1 -1
- package/lite/identity.d.ts +25 -0
- package/lite/identity.d.ts.map +1 -0
- package/lite/identity.js +79 -0
- package/lite/identity.js.map +1 -0
- package/lite/index.d.ts +14 -13
- package/lite/index.d.ts.map +1 -1
- package/lite/index.js +2 -2
- package/lite/index.js.map +1 -1
- package/lite/message.d.ts +10 -2
- package/lite/message.d.ts.map +1 -1
- package/lite/message.js +28 -45
- package/lite/message.js.map +1 -1
- package/lite/priority.d.ts +9 -2
- package/lite/priority.d.ts.map +1 -1
- package/lite/priority.js +11 -106
- package/lite/priority.js.map +1 -1
- package/lite/probe.d.ts +2 -2
- package/lite/probe.d.ts.map +1 -1
- package/lite/probe.js +9 -1
- package/lite/probe.js.map +1 -1
- package/lite/publisher.d.ts +10 -1
- package/lite/publisher.d.ts.map +1 -1
- package/lite/publisher.js +2548 -438
- package/lite/publisher.js.map +1 -1
- package/lite/routed.d.ts +59 -0
- package/lite/routed.d.ts.map +1 -0
- package/lite/routed.js +564 -0
- package/lite/routed.js.map +1 -0
- package/lite/session.d.ts +2 -28
- package/lite/session.d.ts.map +1 -1
- package/lite/session.js +0 -100
- package/lite/session.js.map +1 -1
- package/lite/setup.d.ts +32 -5
- package/lite/setup.d.ts.map +1 -1
- package/lite/setup.js +95 -22
- package/lite/setup.js.map +1 -1
- package/lite/stream.d.ts +5 -11
- package/lite/stream.d.ts.map +1 -1
- package/lite/stream.js +5 -2
- package/lite/stream.js.map +1 -1
- package/lite/subscribe.d.ts +478 -78
- package/lite/subscribe.d.ts.map +1 -1
- package/lite/subscribe.js +1373 -143
- package/lite/subscribe.js.map +1 -1
- package/lite/subscriber.d.ts +7 -44
- package/lite/subscriber.d.ts.map +1 -1
- package/lite/subscriber.js +3290 -516
- package/lite/subscriber.js.map +1 -1
- package/lite/track.d.ts +27 -12
- package/lite/track.d.ts.map +1 -1
- package/lite/track.js +116 -38
- package/lite/track.js.map +1 -1
- package/lite/tracks.d.ts +55 -0
- package/lite/tracks.d.ts.map +1 -0
- package/lite/tracks.js +114 -0
- package/lite/tracks.js.map +1 -0
- package/lite/version.d.ts +132 -24
- package/lite/version.d.ts.map +1 -1
- package/lite/version.js +378 -34
- package/lite/version.js.map +1 -1
- package/meta.d.ts +77 -0
- package/meta.d.ts.map +1 -0
- package/meta.js +130 -0
- package/meta.js.map +1 -0
- package/meta_api.d.ts +7 -0
- package/meta_api.d.ts.map +1 -0
- package/meta_api.js +7 -0
- package/meta_api.js.map +1 -0
- package/mint.d.ts +28 -0
- package/mint.d.ts.map +1 -0
- package/mint.js +66 -0
- package/mint.js.map +1 -0
- package/open.d.ts +63 -0
- package/open.d.ts.map +1 -0
- package/open.js +250 -0
- package/open.js.map +1 -0
- package/origin.d.ts +394 -142
- package/origin.d.ts.map +1 -1
- package/origin.js +2533 -687
- package/origin.js.map +1 -1
- package/package.json +8 -13
- package/path.d.ts +51 -51
- package/path.d.ts.map +1 -1
- package/path.js +210 -58
- package/path.js.map +1 -1
- package/payload.d.ts +33 -0
- package/payload.d.ts.map +1 -0
- package/payload.js +65 -0
- package/payload.js.map +1 -0
- package/prefix.d.ts +152 -0
- package/prefix.d.ts.map +1 -0
- package/prefix.js +349 -0
- package/prefix.js.map +1 -0
- package/priority.d.ts +8 -0
- package/priority.d.ts.map +1 -0
- package/priority.js +185 -0
- package/priority.js.map +1 -0
- package/queue.d.ts +2 -0
- package/queue.d.ts.map +1 -0
- package/queue.js +46 -0
- package/queue.js.map +1 -0
- package/ranges.d.ts +36 -0
- package/ranges.d.ts.map +1 -0
- package/ranges.js +312 -0
- package/ranges.js.map +1 -0
- package/rescale.d.ts +24 -0
- package/rescale.d.ts.map +1 -0
- package/rescale.js +39 -0
- package/rescale.js.map +1 -0
- package/resume.d.ts +55 -0
- package/resume.d.ts.map +1 -0
- package/resume.js +4173 -0
- package/resume.js.map +1 -0
- package/resume.test-util.d.ts +2 -0
- package/resume.test-util.d.ts.map +1 -0
- package/resume.test-util.js +25 -0
- package/resume.test-util.js.map +1 -0
- package/skips.d.ts +48 -0
- package/skips.d.ts.map +1 -0
- package/skips.js +182 -0
- package/skips.js.map +1 -0
- package/stream.d.ts +78 -40
- package/stream.d.ts.map +1 -1
- package/stream.js +236 -93
- package/stream.js.map +1 -1
- package/subscription.test-util.d.ts +2 -0
- package/subscription.test-util.d.ts.map +1 -0
- package/subscription.test-util.js +49 -0
- package/subscription.test-util.js.map +1 -0
- package/tail.d.ts +23 -14
- package/tail.d.ts.map +1 -1
- package/tail.js +224 -98
- package/tail.js.map +1 -1
- package/time.d.ts +41 -102
- package/time.d.ts.map +1 -1
- package/time.js +129 -92
- package/time.js.map +1 -1
- package/timed.d.ts +21 -0
- package/timed.d.ts.map +1 -0
- package/timed.js +2 -0
- package/timed.js.map +1 -0
- package/track.d.ts +578 -246
- package/track.d.ts.map +1 -1
- package/track.js +7306 -772
- package/track.js.map +1 -1
- package/track_api.d.ts +7 -0
- package/track_api.d.ts.map +1 -0
- package/track_api.js +7 -0
- package/track_api.js.map +1 -0
- package/util/abort.d.ts +1 -0
- package/util/abort.d.ts.map +1 -1
- package/util/abort.js +23 -2
- package/util/abort.js.map +1 -1
- package/util/announce.d.ts +4 -0
- package/util/announce.d.ts.map +1 -0
- package/util/announce.js +11 -0
- package/util/announce.js.map +1 -0
- package/util/bigint.d.ts +3 -0
- package/util/bigint.d.ts.map +1 -0
- package/util/bigint.js +8 -0
- package/util/bigint.js.map +1 -0
- package/util/change.d.ts +12 -0
- package/util/change.d.ts.map +1 -0
- package/util/change.js +18 -0
- package/util/change.js.map +1 -0
- package/util/deadline.d.ts +2 -0
- package/util/deadline.d.ts.map +1 -0
- package/util/deadline.js +108 -0
- package/util/deadline.js.map +1 -0
- package/util/decode_error.d.ts +3 -0
- package/util/decode_error.d.ts.map +1 -0
- package/util/decode_error.js +11 -0
- package/util/decode_error.js.map +1 -0
- package/util/demand.d.ts +8 -0
- package/util/demand.d.ts.map +1 -0
- package/util/demand.js +24 -0
- package/util/demand.js.map +1 -0
- package/util/given_up.d.ts +2 -0
- package/util/given_up.d.ts.map +1 -0
- package/util/given_up.js +101 -0
- package/util/given_up.js.map +1 -0
- package/util/hex.d.ts +6 -0
- package/util/hex.d.ts.map +1 -1
- package/util/hex.js +19 -5
- package/util/hex.js.map +1 -1
- package/util/key.d.ts +15 -0
- package/util/key.d.ts.map +1 -0
- package/util/key.js +38 -0
- package/util/key.js.map +1 -0
- package/util/limits.d.ts +2 -0
- package/util/limits.d.ts.map +1 -0
- package/util/limits.js +76 -0
- package/util/limits.js.map +1 -0
- package/util/observed.d.ts +23 -0
- package/util/observed.d.ts.map +1 -0
- package/util/observed.js +122 -0
- package/util/observed.js.map +1 -0
- package/util/sorted.d.ts +2 -0
- package/util/sorted.d.ts.map +1 -0
- package/util/sorted.js +149 -0
- package/util/sorted.js.map +1 -0
- package/util/timeout.d.ts +2 -1
- package/util/timeout.d.ts.map +1 -1
- package/util/timeout.js +13 -10
- package/util/timeout.js.map +1 -1
- package/util/timer.d.ts +2 -0
- package/util/timer.d.ts.map +1 -0
- package/util/timer.js +19 -0
- package/util/timer.js.map +1 -0
- package/util/u64.js +0 -1
- package/util/utf8.d.ts +2 -0
- package/util/utf8.d.ts.map +1 -1
- package/util/utf8.js +7 -2
- package/util/utf8.js.map +1 -1
- package/util/varint.d.ts.map +1 -1
- package/util/varint.js +8 -2
- package/util/varint.js.map +1 -1
- package/util/watch.d.ts +8 -0
- package/util/watch.d.ts.map +1 -0
- package/util/watch.js +38 -0
- package/util/watch.js.map +1 -0
- package/util/yield.d.ts +2 -0
- package/util/yield.d.ts.map +1 -0
- package/util/yield.js +31 -0
- package/util/yield.js.map +1 -0
- package/varint.d.ts +0 -29
- package/varint.d.ts.map +1 -1
- package/varint.js +7 -29
- package/varint.js.map +1 -1
- package/varint_api.d.ts +7 -0
- package/varint_api.d.ts.map +1 -0
- package/varint_api.js +7 -0
- package/varint_api.js.map +1 -0
- package/version.d.ts +2 -0
- package/version.d.ts.map +1 -0
- package/version.js +4 -0
- package/version.js.map +1 -0
- package/window.d.ts +570 -0
- package/window.d.ts.map +1 -0
- package/window.js +1677 -0
- package/window.js.map +1 -0
- package/wire.d.ts +150 -35
- package/wire.d.ts.map +1 -1
- package/wire.js +27 -1
- package/wire.js.map +1 -1
- package/connection/established.d.ts +0 -53
- package/connection/established.d.ts.map +0 -1
- package/connection/established.js +0 -3
- package/connection/established.js.map +0 -1
- package/ietf/adapter.d.ts +0 -75
- package/ietf/adapter.d.ts.map +0 -1
- package/ietf/adapter.js +0 -700
- package/ietf/adapter.js.map +0 -1
- package/lite/datagram_stream.d.ts +0 -8
- package/lite/datagram_stream.d.ts.map +0 -1
- package/lite/datagram_stream.js +0 -44
- package/lite/datagram_stream.js.map +0 -1
- package/lite/fetch.d.ts +0 -28
- package/lite/fetch.d.ts.map +0 -1
- package/lite/fetch.js +0 -79
- package/lite/fetch.js.map +0 -1
- package/util/log.d.ts +0 -5
- package/util/log.d.ts.map +0 -1
- package/util/log.js +0 -17
- package/util/log.js.map +0 -1
- package/zod.d.ts +0 -13
- package/zod.d.ts.map +0 -1
- package/zod.js +0 -19
- package/zod.js.map +0 -1
package/window.d.ts
ADDED
|
@@ -0,0 +1,570 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A subscriber's own ranges, resolved to the group starts it reads, and the helpers that
|
|
3
|
+
* translate ranges between the model and the wire. Mirrors the Rust `subscription` module.
|
|
4
|
+
*
|
|
5
|
+
* The aggregate a publisher sees is the union of every subscriber's ranges, so it says what
|
|
6
|
+
* arrives, not what one subscriber asked for. A {@link Window} is the per-subscriber side:
|
|
7
|
+
* resolved at the hop serving the subscriber, it filters that subscriber's reads.
|
|
8
|
+
*
|
|
9
|
+
* @module
|
|
10
|
+
*/
|
|
11
|
+
import { Duration } from "@moq/clock";
|
|
12
|
+
import type { Order, Range, Subscription } from "./track.ts";
|
|
13
|
+
/** A run of group starts `[start, end)`; an open run ends at {@link UNBOUNDED}. */
|
|
14
|
+
export type Run = {
|
|
15
|
+
start: bigint;
|
|
16
|
+
end: bigint;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* One range resolved to groups: from `start` up to the exclusive `end`, undefined while open.
|
|
20
|
+
* `floored` says whether the start names a group, rather than reaching back to the oldest one.
|
|
21
|
+
*/
|
|
22
|
+
export type Resolved = {
|
|
23
|
+
start: bigint;
|
|
24
|
+
end?: bigint;
|
|
25
|
+
floored: boolean;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Check and copy a caller's ranges, refusing a malformed one rather than serving it widened. A
|
|
29
|
+
* default priority or order is left out, so equal ranges compare equal however they were written.
|
|
30
|
+
*/
|
|
31
|
+
export declare function rangesOf(ranges: readonly Range[]): Range[];
|
|
32
|
+
/**
|
|
33
|
+
* A range's priority and group order: how urgently, and in what order, its groups go out. Mirrors
|
|
34
|
+
* the Rust `Policy`.
|
|
35
|
+
*/
|
|
36
|
+
export interface Policy {
|
|
37
|
+
priority: number;
|
|
38
|
+
order: Order;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* The default subscription, its one range at `priority`: how a datagram track is subscribed, whose
|
|
42
|
+
* only knob is a priority.
|
|
43
|
+
*/
|
|
44
|
+
export declare function latestAt(priority: number): Subscription;
|
|
45
|
+
/** The policy of a range that names none. */
|
|
46
|
+
export declare const DEFAULT_POLICY: Readonly<Policy>;
|
|
47
|
+
/** The policy `range` asks under. */
|
|
48
|
+
export declare function policyOf(range: Range): Policy;
|
|
49
|
+
/** `range` under `policy`, which it leaves out where it is the default. */
|
|
50
|
+
export declare function withPolicy(range: Range, policy: Policy): Range;
|
|
51
|
+
/**
|
|
52
|
+
* A number ranking how urgently a policy sends: the priority, then newest first, which wins a tie.
|
|
53
|
+
* Ranges at one rank cover a range at an equal or lower one, so it adds nothing beside them.
|
|
54
|
+
* Mirrors the Rust `Policy::rank`, reversed.
|
|
55
|
+
*/
|
|
56
|
+
export declare function policyRank(policy: Policy): number;
|
|
57
|
+
/** The policy {@link policyRank} ranks `rank`. */
|
|
58
|
+
export declare function rankPolicy(rank: number): Policy;
|
|
59
|
+
/**
|
|
60
|
+
* What `ranges` ask as a whole, as a wire without a policy per range carries it: the highest
|
|
61
|
+
* priority, newest first if any range at that priority is. The default without any. Mirrors the
|
|
62
|
+
* Rust `Policy::of`.
|
|
63
|
+
*/
|
|
64
|
+
export declare function rangesPolicy(ranges: Iterable<Range>): Policy;
|
|
65
|
+
/** The time `range` starts from, undefined when it doesn't name one. Mirrors the Rust `Range::time`. */
|
|
66
|
+
export declare function rangeTime(range: Range): bigint | undefined;
|
|
67
|
+
/**
|
|
68
|
+
* The lag of the live join `range` starts with, in whole milliseconds rounded up as the wire
|
|
69
|
+
* carries it, null for no lag limit, and undefined for a range that doesn't join live. Mirrors
|
|
70
|
+
* the Rust `live_millis`.
|
|
71
|
+
*/
|
|
72
|
+
export declare function liveMillis(range: Range): number | null | undefined;
|
|
73
|
+
/** A budget in milliseconds as a live join's max: {@link NO_MAX_DELAY} is no limit. Mirrors the Rust `max_of`. */
|
|
74
|
+
export declare function maxOf(budget: number): Duration | null;
|
|
75
|
+
/**
|
|
76
|
+
* The staleness budget in milliseconds of the groups `range` covers: its max for a live join, and
|
|
77
|
+
* none ({@link NO_MAX_DELAY}) for history. Mirrors the Rust `Range::budget`.
|
|
78
|
+
*/
|
|
79
|
+
export declare function rangeBudget(range: Range): number;
|
|
80
|
+
/**
|
|
81
|
+
* The widest staleness budget in milliseconds any of `ranges` gives a group: none while a history
|
|
82
|
+
* range is asked for, and otherwise the largest live join's max, zero with no range. Mirrors the
|
|
83
|
+
* Rust `Subscription::widest`.
|
|
84
|
+
*/
|
|
85
|
+
export declare function widest(ranges: Iterable<Range>): number;
|
|
86
|
+
/**
|
|
87
|
+
* The live join `range` asks, as its lag in milliseconds and its end, as one key: the key a join
|
|
88
|
+
* is placed and answered under, which a change of max alone keeps. Undefined for history. Mirrors
|
|
89
|
+
* the Rust `Range::join`.
|
|
90
|
+
*/
|
|
91
|
+
export declare function joinOf(range: Range): string | undefined;
|
|
92
|
+
/**
|
|
93
|
+
* The range from group `start` up to the exclusive group `end`, or onward for undefined: what a
|
|
94
|
+
* wire's group bounds become. Undefined when it holds nothing, which an exclusive end of 0 says
|
|
95
|
+
* whatever the start. Mirrors the Rust `Range::span`.
|
|
96
|
+
*/
|
|
97
|
+
export declare function span(start: bigint | undefined, end: bigint | undefined): Range | undefined;
|
|
98
|
+
/** Whether `range` certainly delivers nothing: it ends before a time start. */
|
|
99
|
+
export declare function isEmpty(range: Range): boolean;
|
|
100
|
+
/**
|
|
101
|
+
* A canonical order, as the Rust `Range` sorts: from the oldest group first, then by time, then
|
|
102
|
+
* live joins by lag, then by end, open first.
|
|
103
|
+
*/
|
|
104
|
+
export declare function compare(a: Range, b: Range): number;
|
|
105
|
+
/** Whether two lists hold the same ranges in the same order. */
|
|
106
|
+
export declare function sameRanges(a: readonly Range[], b: readonly Range[]): boolean;
|
|
107
|
+
/**
|
|
108
|
+
* Whether two lists ask for the same groups range by range, whatever their policies: a change of
|
|
109
|
+
* policy alone resolves nothing again.
|
|
110
|
+
*/
|
|
111
|
+
export declare function sameSpans(a: readonly Range[], b: readonly Range[]): boolean;
|
|
112
|
+
/** A range as a string, equal exactly when the ranges are; JSON can't hold a bigint. */
|
|
113
|
+
export declare function rangeKey(range: Range): string;
|
|
114
|
+
/**
|
|
115
|
+
* Whether `next` keeps where `old` resolved: the same groups under another policy, or the same
|
|
116
|
+
* live join under another max. Mirrors the Rust `Range::retunes`.
|
|
117
|
+
*/
|
|
118
|
+
export declare function retunes(old: Range, next: Range): boolean;
|
|
119
|
+
/**
|
|
120
|
+
* The union of `ranges` in a canonical order, without empty or redundant ranges.
|
|
121
|
+
*
|
|
122
|
+
* Time spans merge where they overlap or touch, as the group starts they cover. The rest can't be
|
|
123
|
+
* placed without the live edge, so only an open range drops what it certainly covers: the open
|
|
124
|
+
* time span drops ranges starting inside it, and a range from the oldest group following the live
|
|
125
|
+
* edge covers everything. A live join reaches no further back than its lag, so it covers nothing
|
|
126
|
+
* else, and live joins of the same lag and end are one range under the largest max among them:
|
|
127
|
+
* where a join lands doesn't depend on it.
|
|
128
|
+
*
|
|
129
|
+
* Ranges fold so only within one policy. Across policies a range drops only once ranges at
|
|
130
|
+
* policies that {@link covers | cover} its own already ask for every group it does, since folding
|
|
131
|
+
* it into a range at another policy would lose its priority or order. Mirrors the Rust `union`.
|
|
132
|
+
*/
|
|
133
|
+
export declare function union(ranges: readonly Range[]): Range[];
|
|
134
|
+
/**
|
|
135
|
+
* The lowest time any range starts from, or undefined when one names none: the floor a wire
|
|
136
|
+
* without ranges carries. Mirrors the Rust `Subscription::start`.
|
|
137
|
+
*/
|
|
138
|
+
export declare function rangesStart(ranges: readonly Range[]): bigint | undefined;
|
|
139
|
+
/**
|
|
140
|
+
* The exclusive end past every range, or undefined when one is open: the cap a wire without
|
|
141
|
+
* ranges carries. No range at all ends at group 0. Mirrors the Rust `Subscription::end`.
|
|
142
|
+
*/
|
|
143
|
+
export declare function rangesEnd(ranges: readonly Range[]): bigint | undefined;
|
|
144
|
+
/** The ranges a SUBSCRIBE carries for `ranges`: all but the empty ones. Mirrors the Rust `wire_ranges`. */
|
|
145
|
+
export declare function wireRanges(ranges: readonly Range[]): Range[];
|
|
146
|
+
/**
|
|
147
|
+
* {@link wireRanges} of `subscription`, and the group each live join among them was
|
|
148
|
+
* {@link Subscription.placed | placed} at, by its index there.
|
|
149
|
+
*/
|
|
150
|
+
export declare function wireHeld(subscription: Subscription): {
|
|
151
|
+
ranges: Range[];
|
|
152
|
+
placed: Map<number, bigint>;
|
|
153
|
+
};
|
|
154
|
+
/**
|
|
155
|
+
* `ranges` with each live join `placed` at a group, by index, as a time start there: how a wire
|
|
156
|
+
* before lite-07 narrows it, whose one max age still takes the join's max (see the original
|
|
157
|
+
* ranges). Mirrors the Rust `Subscription::times`.
|
|
158
|
+
*/
|
|
159
|
+
export declare function placedAsTimes(ranges: readonly Range[], placed: ReadonlyMap<number, bigint>): Range[];
|
|
160
|
+
/** Whether every range has an end, so a lite-07 publisher ends the subscription once it covers them. */
|
|
161
|
+
export declare function bounded(ranges: readonly Range[]): boolean;
|
|
162
|
+
/**
|
|
163
|
+
* Whether a subscriber joins at the live edge: an open range with no time start, a live join or one
|
|
164
|
+
* from the oldest group, following it. A time start resumes a known group instead, such as a route
|
|
165
|
+
* switch picking up where the reader stopped. Mirrors the Rust `Prefs::joins_live`.
|
|
166
|
+
*/
|
|
167
|
+
export declare function joinsLive(ranges: readonly Range[]): boolean;
|
|
168
|
+
/**
|
|
169
|
+
* The one span a wire without ranges carries for `ranges`, which the subscribers' own reads
|
|
170
|
+
* narrow again: from the lowest time start up to {@link rangesEnd}.
|
|
171
|
+
*
|
|
172
|
+
* A subscription whose ranges all lack a time start asks with no start, which a pre-06 publisher
|
|
173
|
+
* reads as the latest group and a lite-06 one as no floor: a wire without ranges carries a live
|
|
174
|
+
* join so. One mixing the two asks from group 0, since no single start covers both: the latest
|
|
175
|
+
* group may sit below the time start. Mirrors the Rust `wire_span`.
|
|
176
|
+
*/
|
|
177
|
+
export declare function wireSpan(ranges: readonly Range[]): {
|
|
178
|
+
start?: bigint;
|
|
179
|
+
end?: bigint;
|
|
180
|
+
};
|
|
181
|
+
/** A range holding nothing: nothing sorts below group 0. Mirrors the Rust `Range::EMPTY`. */
|
|
182
|
+
export declare const EMPTY: Range;
|
|
183
|
+
/**
|
|
184
|
+
* `ranges` with every range raised to start no earlier than `floor` and stop before the exclusive
|
|
185
|
+
* `end`, without ever widening one. Mirrors the Rust `Subscription::clamped`.
|
|
186
|
+
*
|
|
187
|
+
* `resolved` names where each range resolved, by index, so its start becomes its own group,
|
|
188
|
+
* raised to `floor` or capped at `end`. A start not resolved keeps its time, since the floor may
|
|
189
|
+
* lie before it, so the caller drops what it resolves to below `floor`. An end not resolved
|
|
190
|
+
* becomes the cap.
|
|
191
|
+
*/
|
|
192
|
+
export declare function clamped(ranges: readonly Range[], floor: bigint | undefined, end: bigint | undefined, resolved: readonly (Resolved | undefined)[]): Range[];
|
|
193
|
+
/**
|
|
194
|
+
* How a received copy places a live join's range: from an upstream answer recorded after join tick
|
|
195
|
+
* `since`, the live edge having moved since any earlier one (see {@link Holdings.join}), or `at`
|
|
196
|
+
* the group it was already placed at (see {@link Subscription.placed}). Mirrors the Rust `Joining`.
|
|
197
|
+
*/
|
|
198
|
+
export type Joining = {
|
|
199
|
+
since: number;
|
|
200
|
+
at?: never;
|
|
201
|
+
} | {
|
|
202
|
+
at: bigint;
|
|
203
|
+
since?: never;
|
|
204
|
+
};
|
|
205
|
+
/** A live join placed from any answer. Mirrors the Rust `Joining::default`. */
|
|
206
|
+
export declare const SINCE_ZERO: Joining;
|
|
207
|
+
/**
|
|
208
|
+
* `ranges` as a copy asked from `floor` through the exclusive `end` asks for them, and the group each
|
|
209
|
+
* live join among them is {@link Subscription.placed | placed} at, by index: as {@link clamped} places
|
|
210
|
+
* them, except a live join, which stays itself, placed at the group {@link clamped} starts it at. As
|
|
211
|
+
* a time start it would read as history, whose groups never go stale. A join `placed` already starts
|
|
212
|
+
* no earlier than where it was placed, and stays placed whatever the bounds. Mirrors the Rust
|
|
213
|
+
* `Range::asked` and the resume `asked`.
|
|
214
|
+
*/
|
|
215
|
+
export declare function asked(ranges: readonly Range[], floor: bigint | undefined, end: bigint | undefined, resolved: readonly (Resolved | undefined)[], placed?: ReadonlyMap<number, bigint>): {
|
|
216
|
+
ranges: Range[];
|
|
217
|
+
placed: Map<number, bigint>;
|
|
218
|
+
};
|
|
219
|
+
/** Where a time falls among the groups a hop holds. Mirrors the Rust `Containing`. */
|
|
220
|
+
export type Containing =
|
|
221
|
+
/**
|
|
222
|
+
* A range from it starts at this key: the newest group starting at or before it, or, once that
|
|
223
|
+
* group ended whole at or before the time, its End, so the range starts at the next group: a time
|
|
224
|
+
* past a whole group's span lies in a span no group contains.
|
|
225
|
+
*/
|
|
226
|
+
{
|
|
227
|
+
at: bigint;
|
|
228
|
+
}
|
|
229
|
+
/** Every group held starts after it. */
|
|
230
|
+
| "before"
|
|
231
|
+
/** No group is held. */
|
|
232
|
+
| "unknown";
|
|
233
|
+
/**
|
|
234
|
+
* The groups a serving hop holds, by start, for resolving time starts and live joins. Mirrors the
|
|
235
|
+
* Rust `Holdings`.
|
|
236
|
+
*/
|
|
237
|
+
export interface Holdings {
|
|
238
|
+
/**
|
|
239
|
+
* Whether this hop resolves ranges against groups of its own. A hop that holds none, such as a
|
|
240
|
+
* reader following route copies, leaves its ranges to the copies.
|
|
241
|
+
*/
|
|
242
|
+
resolves(): boolean;
|
|
243
|
+
/**
|
|
244
|
+
* Whether this hop leaves a live join to the copies it follows, holding it as before any group
|
|
245
|
+
* until one places it. Absent for one whose ranges were placed already, where a live join left
|
|
246
|
+
* with no start reached back. Mirrors the Rust `Holdings::defers`.
|
|
247
|
+
*/
|
|
248
|
+
defers?(): boolean;
|
|
249
|
+
/**
|
|
250
|
+
* Where `time` falls among the groups held, for a range whose groups go stale past `budget` in
|
|
251
|
+
* milliseconds ({@link NO_MAX_DELAY} for none): a received copy counts a group its upstream gave
|
|
252
|
+
* up as stale only for a range within the budget it was judged under. Mirrors the Rust
|
|
253
|
+
* `Holdings::containing`.
|
|
254
|
+
*/
|
|
255
|
+
containing(time: bigint, budget: number): Containing;
|
|
256
|
+
/** The lowest group held starting at or after `from`. */
|
|
257
|
+
nextStart(from: bigint): bigint | undefined;
|
|
258
|
+
/** Whether nothing more can arrive here, so a time start nothing contains reaches back to the oldest group rather than wait. */
|
|
259
|
+
complete(): boolean;
|
|
260
|
+
/**
|
|
261
|
+
* Whether a fill handler can look up a time start the groups held can't place in the track's
|
|
262
|
+
* history, as the Rust `Holdings::looks_up` says. Absent for none.
|
|
263
|
+
*/
|
|
264
|
+
looksUp?(): boolean;
|
|
265
|
+
/**
|
|
266
|
+
* Where a live join holding a nonzero `min` behind the live edge, ending at `end`, starts for a
|
|
267
|
+
* range whose groups go stale past `budget` (see {@link containing}). Only an upstream's answer
|
|
268
|
+
* recorded after tick `since`, under a budget at least as wide, counts: a relay answering it
|
|
269
|
+
* starts no lower than the groups its own copy's max age bound expired, which a wider reader still
|
|
270
|
+
* wants. Undefined while it can't tell yet: nothing held measures the live edge, or a relay copy
|
|
271
|
+
* waits on upstream to answer for it. Absent where the hop leaves its ranges to the copies it
|
|
272
|
+
* follows. Mirrors the Rust `Holdings::join`.
|
|
273
|
+
*/
|
|
274
|
+
join?(min: Duration | null, end: bigint | undefined, budget: number, since: number): Join | undefined;
|
|
275
|
+
/**
|
|
276
|
+
* Whether this hop places a live join only where its upstream's answer to that join does, never
|
|
277
|
+
* from the groups it holds: a lite-07 relay copy, whose wire carries each join and reports where
|
|
278
|
+
* each starts. Absent for none. Mirrors the Rust `Holdings::answers_joins`.
|
|
279
|
+
*/
|
|
280
|
+
answersJoins?(): boolean;
|
|
281
|
+
/**
|
|
282
|
+
* The upstream's answer to the live join `min` through `end`, for a reader within `budget` whose
|
|
283
|
+
* range was added at tick `since`: the group it starts at, or none for nothing to deliver. It
|
|
284
|
+
* stands once the end is declared too, when {@link answersJoins} no longer holds: a copy holds
|
|
285
|
+
* only the groups from where its feed started, so they can't measure a join behind them. Absent
|
|
286
|
+
* for none. Mirrors the Rust `Holdings::answered_join`.
|
|
287
|
+
*/
|
|
288
|
+
answeredJoin?(min: Duration | null, end: bigint | undefined, budget: number, since: number): {
|
|
289
|
+
start?: bigint;
|
|
290
|
+
} | undefined;
|
|
291
|
+
/**
|
|
292
|
+
* Whether the producer declared every start in `[start, end)` skipped, so no group starts there
|
|
293
|
+
* even in the history a handler serves. Absent for none.
|
|
294
|
+
*/
|
|
295
|
+
neverProduced?(start: bigint, end: bigint): boolean;
|
|
296
|
+
/**
|
|
297
|
+
* Runs of times {@link containing} can't place, so a window skips its time starts in them rather
|
|
298
|
+
* than try each again whenever the groups held change. Absent, or undefined, when it can't tell,
|
|
299
|
+
* so each is tried. Mirrors the Rust `Holdings::unplaced`.
|
|
300
|
+
*/
|
|
301
|
+
unplaced?(): Unplaced | undefined;
|
|
302
|
+
}
|
|
303
|
+
/**
|
|
304
|
+
* Where a live join starts: as a time start at the live edge less its lag (`time`), which
|
|
305
|
+
* resolves, looks up, and waits as any time start does; at a group this hop measured by arrival,
|
|
306
|
+
* or its upstream answered (`group`); or nowhere (`"empty"`), as the upstream answered a bounded
|
|
307
|
+
* join. Mirrors the Rust `Join`.
|
|
308
|
+
*/
|
|
309
|
+
export type Join = {
|
|
310
|
+
group: bigint;
|
|
311
|
+
time?: never;
|
|
312
|
+
} | {
|
|
313
|
+
time: bigint;
|
|
314
|
+
group?: never;
|
|
315
|
+
} | "oldest" | "empty";
|
|
316
|
+
/**
|
|
317
|
+
* The times a {@link Holdings} can't place: sorted, disjoint runs, apart from the times a placement
|
|
318
|
+
* that the groups and drops held don't decide places. `mark` changes whenever such a placement may
|
|
319
|
+
* have, so a window that sees it unchanged tries only the times outside `runs` again.
|
|
320
|
+
*/
|
|
321
|
+
export type Unplaced = {
|
|
322
|
+
runs: readonly Run[];
|
|
323
|
+
mark: number;
|
|
324
|
+
};
|
|
325
|
+
/** A hop that holds no groups of its own, such as a reader following route copies that resolve its ranges for it. */
|
|
326
|
+
export declare const UNHELD: Holdings;
|
|
327
|
+
/**
|
|
328
|
+
* A hop that holds no groups of its own but knows every time it is asked starts a group, such as
|
|
329
|
+
* a publisher's reported start: a time start names the group starting there.
|
|
330
|
+
*/
|
|
331
|
+
export declare const AT_KEYS: Holdings;
|
|
332
|
+
/**
|
|
333
|
+
* A time start being looked up: its time, and the oldest key the group containing it may start at,
|
|
334
|
+
* past every group held below it. Mirrors the Rust `Looking`.
|
|
335
|
+
*/
|
|
336
|
+
export interface Lookup {
|
|
337
|
+
time: bigint;
|
|
338
|
+
floor: bigint;
|
|
339
|
+
}
|
|
340
|
+
/**
|
|
341
|
+
* What the track's history answered a time start's lookup with: the group containing the time, no
|
|
342
|
+
* group from `floor`, the oldest key it asked from, through the time, or nothing, with no handler
|
|
343
|
+
* left to. Mirrors the Rust `window::Found`.
|
|
344
|
+
*/
|
|
345
|
+
export type Found = {
|
|
346
|
+
kind: "group";
|
|
347
|
+
group: bigint;
|
|
348
|
+
} | {
|
|
349
|
+
kind: "dropped";
|
|
350
|
+
floor: bigint;
|
|
351
|
+
} | {
|
|
352
|
+
kind: "unanswered";
|
|
353
|
+
};
|
|
354
|
+
/**
|
|
355
|
+
* A subscriber's ranges resolved to the group starts it reads, each by the key its caller gave
|
|
356
|
+
* it, so an edit resolves only the ranges it adds and leaves every other where it resolved.
|
|
357
|
+
* Mirrors the Rust `Window`.
|
|
358
|
+
*
|
|
359
|
+
* A start resolves when its range is placed, and again only when it is replaced. A live join
|
|
360
|
+
* waits, reading everything, until {@link settle} names a first group. A time start the groups
|
|
361
|
+
* held can't place yet waits too, reading only the groups from its time meanwhile, since whichever
|
|
362
|
+
* group contains it starts at or before it.
|
|
363
|
+
*/
|
|
364
|
+
export declare class Window {
|
|
365
|
+
#private;
|
|
366
|
+
/**
|
|
367
|
+
* Resolve `ranges`, keyed by position, time starts from `holdings`, and a live join back by its
|
|
368
|
+
* lag from the live edge, `latest` being the latest group.
|
|
369
|
+
*/
|
|
370
|
+
constructor(ranges: readonly Range[], latest: bigint | undefined, holdings?: Holdings);
|
|
371
|
+
/**
|
|
372
|
+
* {@link Window} for ranges the caller keys itself, in key order, each live join's range placed as
|
|
373
|
+
* `joining` of its key says (from join tick 0 by default). Mirrors the Rust `Window::keyed_since`.
|
|
374
|
+
*/
|
|
375
|
+
static keyed(ranges: Iterable<readonly [bigint, Range]>, latest: bigint | undefined, holdings?: Holdings, joining?: (key: bigint) => Joining): Window;
|
|
376
|
+
/**
|
|
377
|
+
* How long each group stays worth delivering once superseded, as these ranges set it: the same
|
|
378
|
+
* value until the ranges or where they are placed move. Mirrors the Rust `Window::budget`.
|
|
379
|
+
*/
|
|
380
|
+
budget(): Budget;
|
|
381
|
+
/**
|
|
382
|
+
* The ranges covering group `key`, by key, each with the budget in milliseconds `rangeOf` its key
|
|
383
|
+
* gives, these ranges as given by default: a range not yet placed may cover any group up to its
|
|
384
|
+
* end, as in {@link budget}. Mirrors the Rust `Window::covering`.
|
|
385
|
+
*/
|
|
386
|
+
covering(key: bigint, rangeOf?: (id: bigint) => Range | undefined): [bigint, number][];
|
|
387
|
+
/**
|
|
388
|
+
* {@link budget} with each range's staleness taken from `ranges`, by key, rather than from the
|
|
389
|
+
* range it was placed as: a front's reader places a live join where a copy resolved it, as a time
|
|
390
|
+
* start, and the join's groups still go stale past its max. Mirrors the Rust `Window::budget_of`.
|
|
391
|
+
*/
|
|
392
|
+
budgetOf(ranges: ReadonlyMap<bigint, Range>): Budget;
|
|
393
|
+
/** What these were resolved from, in key order. Costs every range. */
|
|
394
|
+
get ranges(): Range[];
|
|
395
|
+
/**
|
|
396
|
+
* Retire the ranges keyed `retire`, then resolve `add`, leaving every other range where it
|
|
397
|
+
* resolved. A key added again replaces its range in place, but a live join added again with only
|
|
398
|
+
* its max or policy changed, and placed as it was, keeps where it started, as does any other range
|
|
399
|
+
* added again with only its policy changed; any other key added is past every key held. Each live
|
|
400
|
+
* join's range is placed as `joining` of its key says (from join tick 0 by default). Costs the
|
|
401
|
+
* ranges edited, never the rest. Returns whether any group it reads, or how long one stays
|
|
402
|
+
* fresh, may have moved: a change of policy alone moves none. Mirrors the Rust
|
|
403
|
+
* `Window::edit_since`.
|
|
404
|
+
*/
|
|
405
|
+
edit(retire: Iterable<bigint>, add: readonly (readonly [bigint, Range])[], latest: bigint | undefined, holdings?: Holdings, joining?: (key: bigint) => Joining): boolean;
|
|
406
|
+
/**
|
|
407
|
+
* Note each live join range keyed in `since` as added at its tick instead (see
|
|
408
|
+
* `Prefs.stamp`), placing again any still waiting on an answer, which an answer recorded since
|
|
409
|
+
* that tick may now place. One already placed stays where it started, and one placed at a group
|
|
410
|
+
* takes no tick. Returns whether the groups in range moved.
|
|
411
|
+
*/
|
|
412
|
+
stamp(since: Iterable<readonly [bigint, number]>, latest: bigint | undefined, holdings?: Holdings): boolean;
|
|
413
|
+
/** Whether a live join still waits on a first group. */
|
|
414
|
+
get pending(): boolean;
|
|
415
|
+
/**
|
|
416
|
+
* Whether a live join's reach back waits on its upstream's answer or a group held starting. Mirrors
|
|
417
|
+
* the Rust `Window::is_reaching`.
|
|
418
|
+
*/
|
|
419
|
+
get reaching(): boolean;
|
|
420
|
+
/**
|
|
421
|
+
* The keys of the ranges still waiting on a live join or a time start. Mirrors the Rust
|
|
422
|
+
* `Window::unsettled`.
|
|
423
|
+
*/
|
|
424
|
+
unsettled(): Set<bigint>;
|
|
425
|
+
/**
|
|
426
|
+
* Whether a range not yet placed may still come to hold group `key`: placed, it starts at or below
|
|
427
|
+
* the group its time or live edge falls in, which may be `key` or one below. A time at or past
|
|
428
|
+
* `end`, where group `key` is known to end, falls in a later group, however far the range got
|
|
429
|
+
* placing it. Mirrors the Rust `Window::may_hold`.
|
|
430
|
+
*/
|
|
431
|
+
mayHold(key: bigint, end: bigint | undefined): boolean;
|
|
432
|
+
/** Whether nothing is left to resolve as groups arrive. */
|
|
433
|
+
get settled(): boolean;
|
|
434
|
+
/**
|
|
435
|
+
* Resolve what the groups now held settle: live joins once `latest` exists or the holdings can
|
|
436
|
+
* tell where they start, and time starts once a group arrives. Returns whether the groups in
|
|
437
|
+
* range moved.
|
|
438
|
+
*/
|
|
439
|
+
settle(latest: bigint | undefined, holdings?: Holdings): boolean;
|
|
440
|
+
/**
|
|
441
|
+
* The time starts still waiting on the groups held, lowest first: what a received copy asks its
|
|
442
|
+
* upstream to place. Mirrors the Rust `Window::asks`.
|
|
443
|
+
*/
|
|
444
|
+
asks(): bigint[];
|
|
445
|
+
/**
|
|
446
|
+
* The live joins still waiting on an answer, as `[lag, end, budget, since]`: the lag in
|
|
447
|
+
* milliseconds (null for no lag limit), the range's end, its budget in milliseconds, and the join tick its range was added
|
|
448
|
+
* at. What a received copy asks its upstream to place. Mirrors the Rust `Window::joins`.
|
|
449
|
+
*/
|
|
450
|
+
joins(): [number | null, bigint | undefined, number, number][];
|
|
451
|
+
/**
|
|
452
|
+
* The times in `[start, end)` of the time starts not yet resolved: waiting on the groups held, or
|
|
453
|
+
* on a lookup of the track's history. The group containing each starts at or before its time, so
|
|
454
|
+
* one at or past a read's floor and below a group may still land between them. Mirrors the Rust
|
|
455
|
+
* `Window::unresolved_in`.
|
|
456
|
+
*/
|
|
457
|
+
unresolvedIn(start: bigint, end: bigint): bigint[];
|
|
458
|
+
/** Whether group `key` is in range. Everything is while a live join waits on a first group. */
|
|
459
|
+
contains(key: bigint): boolean;
|
|
460
|
+
/**
|
|
461
|
+
* Whether a range placed so far holds group `key`: unlike {@link contains}, not every group while a
|
|
462
|
+
* live join waits on a first group. Mirrors the Rust `Window::holds`.
|
|
463
|
+
*/
|
|
464
|
+
holds(key: bigint): boolean;
|
|
465
|
+
/** The lowest group in range at or above `from`, undefined when none is. `from` itself while a live join waits on a first group. */
|
|
466
|
+
next(from: bigint): bigint | undefined;
|
|
467
|
+
/** The highest group in range below `before`, undefined when none is. The one just below while a live join waits on a first group. */
|
|
468
|
+
prev(before: bigint): bigint | undefined;
|
|
469
|
+
/**
|
|
470
|
+
* The lowest group in range, undefined while a start waits, a time start's lookup included: it may
|
|
471
|
+
* resolve to a group below every one in range. Nothing in range floors at group 0.
|
|
472
|
+
*/
|
|
473
|
+
floor(): bigint | undefined;
|
|
474
|
+
/**
|
|
475
|
+
* The lowest group the ranges name, undefined while one reaches back to the oldest group or a
|
|
476
|
+
* start waits.
|
|
477
|
+
*/
|
|
478
|
+
start(): bigint | undefined;
|
|
479
|
+
/** Where the run in range reaching past every group starts, undefined when none does. A live join that waits runs from 0. */
|
|
480
|
+
openFrom(): bigint | undefined;
|
|
481
|
+
/** The exclusive end past every group in range, undefined when one stays open or a start waits. Nothing in range ends at 0. */
|
|
482
|
+
end(): bigint | undefined;
|
|
483
|
+
/** The runs in range from `from` up to the exclusive `end`, lowest first. */
|
|
484
|
+
runs(from?: bigint, end?: bigint): Run[];
|
|
485
|
+
/**
|
|
486
|
+
* The runs the placed ranges name: unlike {@link runs}, a live join still waiting on a first
|
|
487
|
+
* group names none of them. Mirrors the Rust `Window::placed`.
|
|
488
|
+
*/
|
|
489
|
+
placed(from?: bigint, end?: bigint): Run[];
|
|
490
|
+
/**
|
|
491
|
+
* The part of {@link runs} a miss may ask a fill for: all of it but what starts before a time
|
|
492
|
+
* start that fell before every group held. Mirrors the Rust `Window::missable`.
|
|
493
|
+
*/
|
|
494
|
+
missable(from?: bigint, end?: bigint): Run[];
|
|
495
|
+
/**
|
|
496
|
+
* The range keyed `key` resolved: undefined for one whose start still waits, or is still looked
|
|
497
|
+
* up, or that isn't held. One empty as given ends at its start. Mirrors the Rust
|
|
498
|
+
* `Window::resolved_key`.
|
|
499
|
+
*/
|
|
500
|
+
resolvedKey(key: bigint): Resolved | undefined;
|
|
501
|
+
/** Each range resolved, in key order, as {@link resolvedKey} reads it. Mirrors the Rust `Window::resolved`. */
|
|
502
|
+
resolved(): (Resolved | undefined)[];
|
|
503
|
+
/**
|
|
504
|
+
* Where each range starts once delivery starts at `from`, in key order: undefined for one with
|
|
505
|
+
* no group there, or whose start still waits. Mirrors the Rust `Window::starts`.
|
|
506
|
+
*/
|
|
507
|
+
starts(from: bigint): (bigint | undefined)[];
|
|
508
|
+
/** The time starts still looked up, by time. Mirrors the Rust `Window::lookups`. */
|
|
509
|
+
lookups(): Lookup[];
|
|
510
|
+
/**
|
|
511
|
+
* The lookup of time start `at` answered: its spans start where the answer says, never where the
|
|
512
|
+
* groups held happen to. Left unanswered because no handler is left, they start where the groups
|
|
513
|
+
* held say, as with no handler at all, unless the cache since evicted the group their floor was
|
|
514
|
+
* past and a handler is back: then they look it up again from lower down. Returns whether the
|
|
515
|
+
* groups in range moved. Mirrors the Rust `Window::found`.
|
|
516
|
+
*/
|
|
517
|
+
found(at: bigint, found: Found, holdings?: Holdings): boolean;
|
|
518
|
+
/**
|
|
519
|
+
* What rebuilding from the spans would read, may ask a miss for, and name as its start, for a test
|
|
520
|
+
* to check the counted runs against.
|
|
521
|
+
*/
|
|
522
|
+
fresh(): {
|
|
523
|
+
runs: Run[];
|
|
524
|
+
missable: Run[];
|
|
525
|
+
named: bigint | undefined;
|
|
526
|
+
};
|
|
527
|
+
/** The lowest start the spans name, counted. */
|
|
528
|
+
named(): bigint | undefined;
|
|
529
|
+
}
|
|
530
|
+
/**
|
|
531
|
+
* How long each group stays worth delivering once superseded, in milliseconds, as a reader's ranges
|
|
532
|
+
* set it: the widest budget among the ranges covering it, a live join's being its max, and a history
|
|
533
|
+
* range's as long as the publisher keeps it ({@link NO_MAX_DELAY}). A range not yet placed may cover
|
|
534
|
+
* any group up to its end. A group none covers, such as one handed out before the ranges moved, gets
|
|
535
|
+
* the widest budget any range asks: it was reached through one of them, so a history range keeps it
|
|
536
|
+
* from going stale. Immutable: a window hands out a new one when its ranges move. Mirrors the Rust
|
|
537
|
+
* `Budget`.
|
|
538
|
+
*/
|
|
539
|
+
export declare class Budget {
|
|
540
|
+
#private;
|
|
541
|
+
/** The groups the placed ranges cover, by the budget they give, widest first, each sorted and disjoint. */
|
|
542
|
+
readonly layers: readonly (readonly [number, readonly Run[]])[];
|
|
543
|
+
/**
|
|
544
|
+
* The ranges not yet placed, each as the exclusive end of the groups it may cover and its budget:
|
|
545
|
+
* by end ascending, budget descending, leaving out any another covers at least as widely.
|
|
546
|
+
*/
|
|
547
|
+
readonly unplaced: readonly (readonly [bigint, number])[];
|
|
548
|
+
constructor(parts: {
|
|
549
|
+
layers: readonly (readonly [number, readonly Run[]])[];
|
|
550
|
+
unplaced: readonly (readonly [bigint, number])[];
|
|
551
|
+
widest: number;
|
|
552
|
+
});
|
|
553
|
+
/** The same budget for every group. */
|
|
554
|
+
static uniform(budget: number): Budget;
|
|
555
|
+
/** This budget, each group's no wider than `bound`, undefined for none. */
|
|
556
|
+
clamped(bound: number | undefined): Budget;
|
|
557
|
+
/** How long group `key` stays worth delivering once superseded. */
|
|
558
|
+
at(key: bigint): number;
|
|
559
|
+
/** The widest budget any group gets, counting a range not yet placed. */
|
|
560
|
+
widest(): number;
|
|
561
|
+
/** Whether every group gets the same budget. */
|
|
562
|
+
isUniform(): boolean;
|
|
563
|
+
/** Whether `other` gives every group the same budget, as this one's copy. */
|
|
564
|
+
equals(other: Budget | undefined): boolean;
|
|
565
|
+
/** `[start, end)` cut where the budget changes, each stretch with its budget, lowest first. */
|
|
566
|
+
runs(start: bigint, end: bigint): [Run, number][];
|
|
567
|
+
/** The budget of group `key`, and the next key whose budget differs, undefined for none. */
|
|
568
|
+
stretch(key: bigint): [number, bigint | undefined];
|
|
569
|
+
}
|
|
570
|
+
//# sourceMappingURL=window.d.ts.map
|
package/window.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"window.d.ts","sourceRoot":"","sources":["../src/window.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,OAAO,KAAK,EAAE,KAAK,EAAE,KAAK,EAAS,YAAY,EAAE,MAAM,YAAY,CAAC;AAIpE,mFAAmF;AACnF,MAAM,MAAM,GAAG,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,CAAC;AAEjD;;;GAGG;AACH,MAAM,MAAM,QAAQ,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,OAAO,CAAA;CAAE,CAAC;AAgCzE;;;GAGG;AACH,wBAAgB,QAAQ,CAAC,MAAM,EAAE,SAAS,KAA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