@daiso-tech/core 0.6.0 → 0.8.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/dist/cjs/_module.js +8 -5
- package/dist/cjs/_module.js.map +1 -1
- package/dist/cjs/_shared/utilities.js +9 -0
- package/dist/cjs/_shared/utilities.js.map +1 -1
- package/dist/cjs/collection/contracts/_module.js +20 -0
- package/dist/cjs/collection/contracts/_module.js.map +1 -0
- package/dist/cjs/collection/contracts/_shared.js.map +1 -0
- package/dist/cjs/collection/contracts/async-collection.contract.js.map +1 -0
- package/dist/cjs/collection/contracts/collection.contract.js.map +1 -0
- package/dist/cjs/collection/implementations/_module.js +21 -0
- package/dist/cjs/collection/implementations/_module.js.map +1 -0
- package/dist/cjs/collection/implementations/_shared.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_module.js +18 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_module.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/_module.js +50 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/_module.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-chunk-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-chunk-while-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-collapse-iterable.js +22 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-collapse-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-count-by-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-cross-join-iterable.js +35 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-cross-join-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-entries-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-error-handler-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-filter-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-flat-map-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-group-by-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-insert-after-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-insert-before-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-map-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-merge-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-pad-end-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-pad-start-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-partion-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-repeat-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-reverse-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-shuffle-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-skip-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-skip-until-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-slice-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-sliding-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-sort-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-split-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-take-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-take-until-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-tap-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-unique-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-update-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-when-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-zip-iterable.js +37 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-zip-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/async-iterable-collection.js +547 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/async-iterable-collection.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_module.js +18 -0
- package/dist/cjs/collection/implementations/iterable-collection/_module.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/_module.js +49 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/_module.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/chunk-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/chunk-while-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/collapse-iterable.js +22 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/collapse-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/count-by-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/cross-join-iterable.js +37 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/cross-join-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/entries-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/filter-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/flat-map-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/group-by-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/insert-after-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/insert-before-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/map-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/merge-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/pad-end-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/pad-start-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/partion-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/repeat-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/reverse-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/shuffle-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/skip-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/skip-until-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/slice-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/sliding-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/sort-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/split-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/take-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/take-until-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/tap-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/unique-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/update-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/when-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/zip-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/iterable-collection.js +493 -0
- package/dist/cjs/collection/implementations/iterable-collection/iterable-collection.js.map +1 -0
- package/dist/cjs/collection/implementations/list-collection/_module.js +18 -0
- package/dist/cjs/collection/implementations/list-collection/_module.js.map +1 -0
- package/dist/cjs/collection/implementations/list-collection/list-collection.js +628 -0
- package/dist/cjs/collection/implementations/list-collection/list-collection.js.map +1 -0
- package/dist/cjs/event-bus/contracts/_module.js +21 -0
- package/dist/cjs/event-bus/contracts/_module.js.map +1 -0
- package/dist/cjs/event-bus/contracts/_shared.js +32 -0
- package/dist/cjs/event-bus/contracts/_shared.js.map +1 -0
- package/dist/cjs/event-bus/contracts/event-bus-adapter.contract.js +3 -0
- package/dist/cjs/event-bus/contracts/event-bus-adapter.contract.js.map +1 -0
- package/dist/cjs/event-bus/contracts/event-bus-manager.contract.js +3 -0
- package/dist/cjs/event-bus/contracts/event-bus-manager.contract.js.map +1 -0
- package/dist/cjs/event-bus/contracts/event-bus.contract.js +3 -0
- package/dist/cjs/event-bus/contracts/event-bus.contract.js.map +1 -0
- package/dist/cjs/event-bus/implementations/_module.js +22 -0
- package/dist/cjs/event-bus/implementations/_module.js.map +1 -0
- package/dist/cjs/event-bus/implementations/_shared/test-utilities/_module.js +18 -0
- package/dist/cjs/event-bus/implementations/_shared/test-utilities/_module.js.map +1 -0
- package/dist/cjs/event-bus/implementations/_shared/test-utilities/event-bus-adapter.test-suite.js +51 -0
- package/dist/cjs/event-bus/implementations/_shared/test-utilities/event-bus-adapter.test-suite.js.map +1 -0
- package/dist/cjs/event-bus/implementations/event-bus/_module.js +19 -0
- package/dist/cjs/event-bus/implementations/event-bus/_module.js.map +1 -0
- package/dist/cjs/event-bus/implementations/event-bus/event-bus-manager.js +24 -0
- package/dist/cjs/event-bus/implementations/event-bus/event-bus-manager.js.map +1 -0
- package/dist/cjs/event-bus/implementations/event-bus/event-bus.js +104 -0
- package/dist/cjs/event-bus/implementations/event-bus/event-bus.js.map +1 -0
- package/dist/cjs/event-bus/implementations/event-bus/with-namespace-event-bus-adapter.js +41 -0
- package/dist/cjs/event-bus/implementations/event-bus/with-namespace-event-bus-adapter.js.map +1 -0
- package/dist/cjs/event-bus/implementations/event-bus/with-validation-event-bus-adapter.js +35 -0
- package/dist/cjs/event-bus/implementations/event-bus/with-validation-event-bus-adapter.js.map +1 -0
- package/dist/cjs/event-bus/implementations/memory-event-bus-adapter/_module.js +18 -0
- package/dist/cjs/event-bus/implementations/memory-event-bus-adapter/_module.js.map +1 -0
- package/dist/cjs/event-bus/implementations/memory-event-bus-adapter/memory-event-bus-adapter.js +23 -0
- package/dist/cjs/event-bus/implementations/memory-event-bus-adapter/memory-event-bus-adapter.js.map +1 -0
- package/dist/cjs/event-bus/implementations/no-op-event-bus-adapter/_module.js +18 -0
- package/dist/cjs/event-bus/implementations/no-op-event-bus-adapter/_module.js.map +1 -0
- package/dist/cjs/event-bus/implementations/no-op-event-bus-adapter/no-op-event-bus-adapter.js +16 -0
- package/dist/cjs/event-bus/implementations/no-op-event-bus-adapter/no-op-event-bus-adapter.js.map +1 -0
- package/dist/cjs/event-bus/implementations/redis-event-bus-adapter/_module.js +18 -0
- package/dist/cjs/event-bus/implementations/redis-event-bus-adapter/_module.js.map +1 -0
- package/dist/cjs/event-bus/implementations/redis-event-bus-adapter/redis-event-bus-adapter.js +45 -0
- package/dist/cjs/event-bus/implementations/redis-event-bus-adapter/redis-event-bus-adapter.js.map +1 -0
- package/dist/cjs/serializer/contracts/_module.js +18 -0
- package/dist/cjs/serializer/contracts/_module.js.map +1 -0
- package/dist/cjs/serializer/contracts/serializer.contract.js.map +1 -0
- package/dist/cjs/serializer/implementations/_module.js +22 -0
- package/dist/cjs/serializer/implementations/_module.js.map +1 -0
- package/dist/cjs/serializer/implementations/_shared/test-utilities/_module.js +18 -0
- package/dist/cjs/serializer/implementations/_shared/test-utilities/_module.js.map +1 -0
- package/dist/cjs/serializer/implementations/_shared/test-utilities/serializer.test-suite.js.map +1 -0
- package/dist/cjs/serializer/implementations/mongodb-serializer/_module.js +18 -0
- package/dist/cjs/serializer/implementations/mongodb-serializer/_module.js.map +1 -0
- package/dist/cjs/serializer/implementations/mongodb-serializer/mongodb-serializer.js +36 -0
- package/dist/cjs/serializer/implementations/mongodb-serializer/mongodb-serializer.js.map +1 -0
- package/dist/cjs/serializer/implementations/redis-serializer/_module.js +18 -0
- package/dist/cjs/serializer/implementations/redis-serializer/_module.js.map +1 -0
- package/dist/cjs/serializer/implementations/redis-serializer/redis-serializer.js +37 -0
- package/dist/cjs/serializer/implementations/redis-serializer/redis-serializer.js.map +1 -0
- package/dist/cjs/serializer/implementations/sql-serializer/_module.js +18 -0
- package/dist/cjs/serializer/implementations/sql-serializer/_module.js.map +1 -0
- package/dist/cjs/serializer/implementations/sql-serializer/sql-serializer.js +37 -0
- package/dist/cjs/serializer/implementations/sql-serializer/sql-serializer.js.map +1 -0
- package/dist/cjs/serializer/implementations/super-json-serializer/_module.js +18 -0
- package/dist/cjs/serializer/implementations/super-json-serializer/_module.js.map +1 -0
- package/dist/cjs/serializer/implementations/super-json-serializer/super-json-serializer.js +304 -0
- package/dist/cjs/serializer/implementations/super-json-serializer/super-json-serializer.js.map +1 -0
- package/dist/cjs/storage/contracts/_module.js +22 -0
- package/dist/cjs/storage/contracts/_module.js.map +1 -0
- package/dist/cjs/storage/contracts/_shared.js.map +1 -0
- package/dist/cjs/storage/contracts/storage-adapter.contract.js.map +1 -0
- package/dist/cjs/storage/contracts/storage-events.contract.js +14 -0
- package/dist/cjs/storage/contracts/storage-events.contract.js.map +1 -0
- package/dist/cjs/storage/contracts/storage-manager.contract.js +3 -0
- package/dist/cjs/storage/contracts/storage-manager.contract.js.map +1 -0
- package/dist/cjs/storage/contracts/storage.contract.js.map +1 -0
- package/dist/cjs/storage/implementations/_module.js +23 -0
- package/dist/cjs/storage/implementations/_module.js.map +1 -0
- package/dist/cjs/storage/implementations/_shared/test-utilities/_module.js +18 -0
- package/dist/cjs/storage/implementations/_shared/test-utilities/_module.js.map +1 -0
- package/dist/cjs/storage/implementations/_shared/test-utilities/storage-adapter.test-suite.js +298 -0
- package/dist/cjs/storage/implementations/_shared/test-utilities/storage-adapter.test-suite.js.map +1 -0
- package/dist/cjs/storage/implementations/memory-storage-adapter/_module.js +18 -0
- package/dist/cjs/storage/implementations/memory-storage-adapter/_module.js.map +1 -0
- package/dist/cjs/storage/implementations/memory-storage-adapter/memory-storage-adapter.js +85 -0
- package/dist/cjs/storage/implementations/memory-storage-adapter/memory-storage-adapter.js.map +1 -0
- package/dist/cjs/storage/implementations/mongodb-storage-adapter/_module.js +6 -0
- package/dist/cjs/storage/implementations/mongodb-storage-adapter/_module.js.map +1 -0
- package/dist/cjs/storage/implementations/mongodb-storage-adapter/mongodb-storage-adapter.js +203 -0
- package/dist/cjs/storage/implementations/mongodb-storage-adapter/mongodb-storage-adapter.js.map +1 -0
- package/dist/cjs/storage/implementations/redis-storage-adapter/_module.js +18 -0
- package/dist/cjs/storage/implementations/redis-storage-adapter/_module.js.map +1 -0
- package/dist/cjs/storage/implementations/redis-storage-adapter/redis-storage-adapter.js +228 -0
- package/dist/cjs/storage/implementations/redis-storage-adapter/redis-storage-adapter.js.map +1 -0
- package/dist/cjs/storage/implementations/sqlite/_module.js +19 -0
- package/dist/cjs/storage/implementations/sqlite/_module.js.map +1 -0
- package/dist/cjs/storage/implementations/sqlite/_shared/_module.js +18 -0
- package/dist/cjs/storage/implementations/sqlite/_shared/_module.js.map +1 -0
- package/dist/cjs/storage/implementations/sqlite/_shared/base-sqlite-storage-adapter.js +190 -0
- package/dist/cjs/storage/implementations/sqlite/_shared/base-sqlite-storage-adapter.js.map +1 -0
- package/dist/cjs/storage/implementations/sqlite/libsql-storage-adapter/_module.js +18 -0
- package/dist/cjs/storage/implementations/sqlite/libsql-storage-adapter/_module.js.map +1 -0
- package/dist/cjs/storage/implementations/sqlite/libsql-storage-adapter/libsql-storage-adapter.js +53 -0
- package/dist/cjs/storage/implementations/sqlite/libsql-storage-adapter/libsql-storage-adapter.js.map +1 -0
- package/dist/cjs/storage/implementations/sqlite/sqlite-storage-adapter/_module.js +18 -0
- package/dist/cjs/storage/implementations/sqlite/sqlite-storage-adapter/_module.js.map +1 -0
- package/dist/cjs/storage/implementations/sqlite/sqlite-storage-adapter/sqlite-storage-adapter.js +52 -0
- package/dist/cjs/storage/implementations/sqlite/sqlite-storage-adapter/sqlite-storage-adapter.js.map +1 -0
- package/dist/cjs/storage/implementations/storage/_module.js +19 -0
- package/dist/cjs/storage/implementations/storage/_module.js.map +1 -0
- package/dist/cjs/storage/implementations/storage/storage-manager.js +24 -0
- package/dist/cjs/storage/implementations/storage/storage-manager.js.map +1 -0
- package/dist/cjs/storage/implementations/storage/storage.js +265 -0
- package/dist/cjs/storage/implementations/storage/storage.js.map +1 -0
- package/dist/cjs/storage/implementations/storage/with-event-storage-adapter.js +254 -0
- package/dist/cjs/storage/implementations/storage/with-event-storage-adapter.js.map +1 -0
- package/dist/cjs/storage/implementations/storage/with-namespace-storage-adapter.js +53 -0
- package/dist/cjs/storage/implementations/storage/with-namespace-storage-adapter.js.map +1 -0
- package/dist/cjs/storage/implementations/storage/with-validation-storage-adapter.js +48 -0
- package/dist/cjs/storage/implementations/storage/with-validation-storage-adapter.js.map +1 -0
- package/dist/cjs/utilities/_module.js +3 -0
- package/dist/cjs/utilities/_module.js.map +1 -1
- package/dist/cjs/utilities/async/_module.js +29 -0
- package/dist/cjs/utilities/async/_module.js.map +1 -0
- package/dist/cjs/utilities/async/_shared.js.map +1 -0
- package/dist/cjs/utilities/async/abortable/_module.js +18 -0
- package/dist/cjs/utilities/async/abortable/_module.js.map +1 -0
- package/dist/cjs/utilities/async/abortable/abortable.js +48 -0
- package/dist/cjs/utilities/async/abortable/abortable.js.map +1 -0
- package/dist/cjs/utilities/async/abortable-iterable/_module.js +18 -0
- package/dist/cjs/utilities/async/abortable-iterable/_module.js.map +1 -0
- package/dist/cjs/utilities/async/abortable-iterable/abortable-iterable.js +32 -0
- package/dist/cjs/utilities/async/abortable-iterable/abortable-iterable.js.map +1 -0
- package/dist/cjs/utilities/async/delay/_module.js +18 -0
- package/dist/cjs/utilities/async/delay/_module.js.map +1 -0
- package/dist/cjs/utilities/async/delay/delay.js +24 -0
- package/dist/cjs/utilities/async/delay/delay.js.map +1 -0
- package/dist/cjs/utilities/async/delay-iterable/_module.js +18 -0
- package/dist/cjs/utilities/async/delay-iterable/_module.js.map +1 -0
- package/dist/cjs/utilities/async/delay-iterable/delay-iterable.js +36 -0
- package/dist/cjs/utilities/async/delay-iterable/delay-iterable.js.map +1 -0
- package/dist/cjs/utilities/async/lazy-promise/_module.js +18 -0
- package/dist/cjs/utilities/async/lazy-promise/_module.js.map +1 -0
- package/dist/cjs/utilities/async/lazy-promise/lazy-promise.js.map +1 -0
- package/dist/cjs/utilities/async/retry/_module.js +18 -0
- package/dist/cjs/utilities/async/retry/_module.js.map +1 -0
- package/dist/cjs/utilities/async/retry/retry.js +43 -0
- package/dist/cjs/utilities/async/retry/retry.js.map +1 -0
- package/dist/cjs/utilities/async/retry-iterable/_module.js +18 -0
- package/dist/cjs/utilities/async/retry-iterable/_module.js.map +1 -0
- package/dist/cjs/utilities/async/retry-iterable/retry-iterable.js +32 -0
- package/dist/cjs/utilities/async/retry-iterable/retry-iterable.js.map +1 -0
- package/dist/cjs/utilities/async/timeout/_module.js +18 -0
- package/dist/cjs/utilities/async/timeout/_module.js.map +1 -0
- package/dist/cjs/utilities/async/timeout/timeout.js +28 -0
- package/dist/cjs/utilities/async/timeout/timeout.js.map +1 -0
- package/dist/cjs/utilities/async/timeout-iterable/_module.js +18 -0
- package/dist/cjs/utilities/async/timeout-iterable/_module.js.map +1 -0
- package/dist/cjs/utilities/async/timeout-iterable/timeout-iterable.js +11 -0
- package/dist/cjs/utilities/async/timeout-iterable/timeout-iterable.js.map +1 -0
- package/dist/cjs/utilities/backof-policies/_module.js +21 -0
- package/dist/cjs/utilities/backof-policies/_module.js.map +1 -0
- package/dist/cjs/utilities/backof-policies/_shared.js.map +1 -0
- package/dist/cjs/utilities/backof-policies/constant-backoff-policy/_module.js +18 -0
- package/dist/cjs/utilities/backof-policies/constant-backoff-policy/_module.js.map +1 -0
- package/dist/cjs/utilities/backof-policies/constant-backoff-policy/constant-backoff-policy.js +19 -0
- package/dist/cjs/utilities/backof-policies/constant-backoff-policy/constant-backoff-policy.js.map +1 -0
- package/dist/cjs/utilities/backof-policies/exponential-backoff-policy/_module.js +18 -0
- package/dist/cjs/utilities/backof-policies/exponential-backoff-policy/_module.js.map +1 -0
- package/dist/cjs/utilities/backof-policies/exponential-backoff-policy/exponential-backoff-policy.js +23 -0
- package/dist/cjs/utilities/backof-policies/exponential-backoff-policy/exponential-backoff-policy.js.map +1 -0
- package/dist/cjs/utilities/backof-policies/linear-backoff-policy/_module.js +18 -0
- package/dist/cjs/utilities/backof-policies/linear-backoff-policy/_module.js.map +1 -0
- package/dist/cjs/utilities/backof-policies/linear-backoff-policy/linear-backoff-policy.js +23 -0
- package/dist/cjs/utilities/backof-policies/linear-backoff-policy/linear-backoff-policy.js.map +1 -0
- package/dist/cjs/utilities/backof-policies/polynomial-backoff-policy/_module.js +18 -0
- package/dist/cjs/utilities/backof-policies/polynomial-backoff-policy/_module.js.map +1 -0
- package/dist/cjs/utilities/backof-policies/polynomial-backoff-policy/polynomial-backoff-policy.js +23 -0
- package/dist/cjs/utilities/backof-policies/polynomial-backoff-policy/polynomial-backoff-policy.js.map +1 -0
- package/dist/cjs/utilities/time-span/time-span.js +2 -2
- package/dist/cjs/utilities/time-span/time-span.js.map +1 -1
- package/dist/cjs/utilities/validation/_module.js +22 -0
- package/dist/cjs/utilities/validation/_module.js.map +1 -0
- package/dist/esm/_module.js +8 -5
- package/dist/esm/_module.js.map +1 -1
- package/dist/esm/_shared/utilities.js +7 -0
- package/dist/esm/_shared/utilities.js.map +1 -1
- package/dist/esm/collection/contracts/_module.js +4 -0
- package/dist/esm/collection/contracts/_module.js.map +1 -0
- package/dist/esm/collection/contracts/_shared.js.map +1 -0
- package/dist/esm/collection/contracts/async-collection.contract.js.map +1 -0
- package/dist/esm/collection/contracts/collection.contract.js.map +1 -0
- package/dist/esm/collection/implementations/_module.js +5 -0
- package/dist/esm/collection/implementations/_module.js.map +1 -0
- package/dist/esm/collection/implementations/_shared.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_module.js +2 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_module.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/_module.js +34 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/_module.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-chunk-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-chunk-while-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-collapse-iterable.js +18 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-collapse-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-count-by-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-cross-join-iterable.js +31 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-cross-join-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-entries-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-error-handler-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-filter-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-flat-map-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-group-by-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-insert-after-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-insert-before-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-map-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-merge-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-pad-end-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-pad-start-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-partion-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-repeat-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-reverse-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-shuffle-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-skip-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-skip-until-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-slice-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-sliding-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-sort-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-split-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-take-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-take-until-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-tap-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-unique-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-update-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-when-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-zip-iterable.js +33 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-zip-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/async-iterable-collection.js +543 -0
- package/dist/esm/collection/implementations/async-iterable-collection/async-iterable-collection.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_module.js +2 -0
- package/dist/esm/collection/implementations/iterable-collection/_module.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/_module.js +33 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/_module.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/chunk-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/chunk-while-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/collapse-iterable.js +18 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/collapse-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/count-by-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/cross-join-iterable.js +33 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/cross-join-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/entries-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/filter-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/flat-map-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/group-by-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/insert-after-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/insert-before-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/map-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/merge-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/pad-end-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/pad-start-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/partion-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/repeat-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/reverse-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/shuffle-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/skip-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/skip-until-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/slice-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/sliding-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/sort-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/split-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/take-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/take-until-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/tap-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/unique-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/update-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/when-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/zip-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/iterable-collection.js +489 -0
- package/dist/esm/collection/implementations/iterable-collection/iterable-collection.js.map +1 -0
- package/dist/esm/collection/implementations/list-collection/_module.js +2 -0
- package/dist/esm/collection/implementations/list-collection/_module.js.map +1 -0
- package/dist/esm/collection/implementations/list-collection/list-collection.js +624 -0
- package/dist/esm/collection/implementations/list-collection/list-collection.js.map +1 -0
- package/dist/esm/event-bus/contracts/_module.js +5 -0
- package/dist/esm/event-bus/contracts/_module.js.map +1 -0
- package/dist/esm/event-bus/contracts/_shared.js +25 -0
- package/dist/esm/event-bus/contracts/_shared.js.map +1 -0
- package/dist/esm/event-bus/contracts/event-bus-adapter.contract.js +1 -0
- package/dist/esm/event-bus/contracts/event-bus-adapter.contract.js.map +1 -0
- package/dist/esm/event-bus/contracts/event-bus-manager.contract.js +1 -0
- package/dist/esm/event-bus/contracts/event-bus-manager.contract.js.map +1 -0
- package/dist/esm/event-bus/contracts/event-bus.contract.js +1 -0
- package/dist/esm/event-bus/contracts/event-bus.contract.js.map +1 -0
- package/dist/esm/event-bus/implementations/_module.js +6 -0
- package/dist/esm/event-bus/implementations/_module.js.map +1 -0
- package/dist/esm/event-bus/implementations/_shared/test-utilities/_module.js +2 -0
- package/dist/esm/event-bus/implementations/_shared/test-utilities/_module.js.map +1 -0
- package/dist/esm/event-bus/implementations/_shared/test-utilities/event-bus-adapter.test-suite.js +48 -0
- package/dist/esm/event-bus/implementations/_shared/test-utilities/event-bus-adapter.test-suite.js.map +1 -0
- package/dist/esm/event-bus/implementations/event-bus/_module.js +3 -0
- package/dist/esm/event-bus/implementations/event-bus/_module.js.map +1 -0
- package/dist/esm/event-bus/implementations/event-bus/event-bus-manager.js +20 -0
- package/dist/esm/event-bus/implementations/event-bus/event-bus-manager.js.map +1 -0
- package/dist/esm/event-bus/implementations/event-bus/event-bus.js +100 -0
- package/dist/esm/event-bus/implementations/event-bus/event-bus.js.map +1 -0
- package/dist/esm/event-bus/implementations/event-bus/with-namespace-event-bus-adapter.js +37 -0
- package/dist/esm/event-bus/implementations/event-bus/with-namespace-event-bus-adapter.js.map +1 -0
- package/dist/esm/event-bus/implementations/event-bus/with-validation-event-bus-adapter.js +31 -0
- package/dist/esm/event-bus/implementations/event-bus/with-validation-event-bus-adapter.js.map +1 -0
- package/dist/esm/event-bus/implementations/memory-event-bus-adapter/_module.js +2 -0
- package/dist/esm/event-bus/implementations/memory-event-bus-adapter/_module.js.map +1 -0
- package/dist/esm/event-bus/implementations/memory-event-bus-adapter/memory-event-bus-adapter.js +19 -0
- package/dist/esm/event-bus/implementations/memory-event-bus-adapter/memory-event-bus-adapter.js.map +1 -0
- package/dist/esm/event-bus/implementations/no-op-event-bus-adapter/_module.js +2 -0
- package/dist/esm/event-bus/implementations/no-op-event-bus-adapter/_module.js.map +1 -0
- package/dist/esm/event-bus/implementations/no-op-event-bus-adapter/no-op-event-bus-adapter.js +12 -0
- package/dist/esm/event-bus/implementations/no-op-event-bus-adapter/no-op-event-bus-adapter.js.map +1 -0
- package/dist/esm/event-bus/implementations/redis-event-bus-adapter/_module.js +2 -0
- package/dist/esm/event-bus/implementations/redis-event-bus-adapter/_module.js.map +1 -0
- package/dist/esm/event-bus/implementations/redis-event-bus-adapter/redis-event-bus-adapter.js +41 -0
- package/dist/esm/event-bus/implementations/redis-event-bus-adapter/redis-event-bus-adapter.js.map +1 -0
- package/dist/esm/serializer/contracts/_module.js +2 -0
- package/dist/esm/serializer/contracts/_module.js.map +1 -0
- package/dist/esm/serializer/contracts/serializer.contract.js.map +1 -0
- package/dist/esm/serializer/implementations/_module.js +6 -0
- package/dist/esm/serializer/implementations/_module.js.map +1 -0
- package/dist/esm/serializer/implementations/_shared/test-utilities/_module.js +2 -0
- package/dist/esm/serializer/implementations/_shared/test-utilities/_module.js.map +1 -0
- package/dist/esm/serializer/implementations/_shared/test-utilities/serializer.test-suite.js.map +1 -0
- package/dist/esm/serializer/implementations/mongodb-serializer/_module.js +2 -0
- package/dist/esm/serializer/implementations/mongodb-serializer/_module.js.map +1 -0
- package/dist/esm/serializer/implementations/mongodb-serializer/mongodb-serializer.js +32 -0
- package/dist/esm/serializer/implementations/mongodb-serializer/mongodb-serializer.js.map +1 -0
- package/dist/esm/serializer/implementations/redis-serializer/_module.js +2 -0
- package/dist/esm/serializer/implementations/redis-serializer/_module.js.map +1 -0
- package/dist/esm/serializer/implementations/redis-serializer/redis-serializer.js +33 -0
- package/dist/esm/serializer/implementations/redis-serializer/redis-serializer.js.map +1 -0
- package/dist/esm/serializer/implementations/sql-serializer/_module.js +2 -0
- package/dist/esm/serializer/implementations/sql-serializer/_module.js.map +1 -0
- package/dist/esm/serializer/implementations/sql-serializer/sql-serializer.js +33 -0
- package/dist/esm/serializer/implementations/sql-serializer/sql-serializer.js.map +1 -0
- package/dist/esm/serializer/implementations/super-json-serializer/_module.js +2 -0
- package/dist/esm/serializer/implementations/super-json-serializer/_module.js.map +1 -0
- package/dist/esm/serializer/implementations/super-json-serializer/super-json-serializer.js +277 -0
- package/dist/esm/serializer/implementations/super-json-serializer/super-json-serializer.js.map +1 -0
- package/dist/esm/storage/contracts/_module.js +6 -0
- package/dist/esm/storage/contracts/_module.js.map +1 -0
- package/dist/esm/storage/contracts/_shared.js.map +1 -0
- package/dist/esm/storage/contracts/storage-adapter.contract.js.map +1 -0
- package/dist/esm/storage/contracts/storage-events.contract.js +11 -0
- package/dist/esm/storage/contracts/storage-events.contract.js.map +1 -0
- package/dist/esm/storage/contracts/storage-manager.contract.js +1 -0
- package/dist/esm/storage/contracts/storage-manager.contract.js.map +1 -0
- package/dist/esm/storage/contracts/storage.contract.js.map +1 -0
- package/dist/esm/storage/implementations/_module.js +7 -0
- package/dist/esm/storage/implementations/_module.js.map +1 -0
- package/dist/esm/storage/implementations/_shared/test-utilities/_module.js +2 -0
- package/dist/esm/storage/implementations/_shared/test-utilities/_module.js.map +1 -0
- package/dist/esm/storage/implementations/_shared/test-utilities/storage-adapter.test-suite.js +295 -0
- package/dist/esm/storage/implementations/_shared/test-utilities/storage-adapter.test-suite.js.map +1 -0
- package/dist/esm/storage/implementations/memory-storage-adapter/_module.js +2 -0
- package/dist/esm/storage/implementations/memory-storage-adapter/_module.js.map +1 -0
- package/dist/esm/storage/implementations/memory-storage-adapter/memory-storage-adapter.js +81 -0
- package/dist/esm/storage/implementations/memory-storage-adapter/memory-storage-adapter.js.map +1 -0
- package/dist/esm/storage/implementations/mongodb-storage-adapter/_module.js +2 -0
- package/dist/esm/storage/implementations/mongodb-storage-adapter/_module.js.map +1 -0
- package/dist/esm/storage/implementations/mongodb-storage-adapter/mongodb-storage-adapter.js +196 -0
- package/dist/esm/storage/implementations/mongodb-storage-adapter/mongodb-storage-adapter.js.map +1 -0
- package/dist/esm/storage/implementations/redis-storage-adapter/_module.js +2 -0
- package/dist/esm/storage/implementations/redis-storage-adapter/_module.js.map +1 -0
- package/dist/esm/storage/implementations/redis-storage-adapter/redis-storage-adapter.js +224 -0
- package/dist/esm/storage/implementations/redis-storage-adapter/redis-storage-adapter.js.map +1 -0
- package/dist/esm/storage/implementations/sqlite/_module.js +3 -0
- package/dist/esm/storage/implementations/sqlite/_module.js.map +1 -0
- package/dist/esm/storage/implementations/sqlite/_shared/_module.js +2 -0
- package/dist/esm/storage/implementations/sqlite/_shared/_module.js.map +1 -0
- package/dist/esm/storage/implementations/sqlite/_shared/base-sqlite-storage-adapter.js +186 -0
- package/dist/esm/storage/implementations/sqlite/_shared/base-sqlite-storage-adapter.js.map +1 -0
- package/dist/esm/storage/implementations/sqlite/libsql-storage-adapter/_module.js +2 -0
- package/dist/esm/storage/implementations/sqlite/libsql-storage-adapter/_module.js.map +1 -0
- package/dist/esm/storage/implementations/sqlite/libsql-storage-adapter/libsql-storage-adapter.js +49 -0
- package/dist/esm/storage/implementations/sqlite/libsql-storage-adapter/libsql-storage-adapter.js.map +1 -0
- package/dist/esm/storage/implementations/sqlite/sqlite-storage-adapter/_module.js +2 -0
- package/dist/esm/storage/implementations/sqlite/sqlite-storage-adapter/_module.js.map +1 -0
- package/dist/esm/storage/implementations/sqlite/sqlite-storage-adapter/sqlite-storage-adapter.js +48 -0
- package/dist/esm/storage/implementations/sqlite/sqlite-storage-adapter/sqlite-storage-adapter.js.map +1 -0
- package/dist/esm/storage/implementations/storage/_module.js +3 -0
- package/dist/esm/storage/implementations/storage/_module.js.map +1 -0
- package/dist/esm/storage/implementations/storage/storage-manager.js +20 -0
- package/dist/esm/storage/implementations/storage/storage-manager.js.map +1 -0
- package/dist/esm/storage/implementations/storage/storage.js +261 -0
- package/dist/esm/storage/implementations/storage/storage.js.map +1 -0
- package/dist/esm/storage/implementations/storage/with-event-storage-adapter.js +250 -0
- package/dist/esm/storage/implementations/storage/with-event-storage-adapter.js.map +1 -0
- package/dist/esm/storage/implementations/storage/with-namespace-storage-adapter.js +49 -0
- package/dist/esm/storage/implementations/storage/with-namespace-storage-adapter.js.map +1 -0
- package/dist/esm/storage/implementations/storage/with-validation-storage-adapter.js +44 -0
- package/dist/esm/storage/implementations/storage/with-validation-storage-adapter.js.map +1 -0
- package/dist/esm/utilities/_module.js +3 -0
- package/dist/esm/utilities/_module.js.map +1 -1
- package/dist/esm/utilities/async/_module.js +11 -0
- package/dist/esm/utilities/async/_module.js.map +1 -0
- package/dist/esm/utilities/async/_shared.js.map +1 -0
- package/dist/esm/utilities/async/abortable/_module.js +2 -0
- package/dist/esm/utilities/async/abortable/_module.js.map +1 -0
- package/dist/esm/utilities/async/abortable/abortable.js +45 -0
- package/dist/esm/utilities/async/abortable/abortable.js.map +1 -0
- package/dist/esm/utilities/async/abortable-iterable/_module.js +2 -0
- package/dist/esm/utilities/async/abortable-iterable/_module.js.map +1 -0
- package/dist/esm/utilities/async/abortable-iterable/abortable-iterable.js +29 -0
- package/dist/esm/utilities/async/abortable-iterable/abortable-iterable.js.map +1 -0
- package/dist/esm/utilities/async/delay/_module.js +2 -0
- package/dist/esm/utilities/async/delay/_module.js.map +1 -0
- package/dist/esm/utilities/async/delay/delay.js +21 -0
- package/dist/esm/utilities/async/delay/delay.js.map +1 -0
- package/dist/esm/utilities/async/delay-iterable/_module.js +2 -0
- package/dist/esm/utilities/async/delay-iterable/_module.js.map +1 -0
- package/dist/esm/utilities/async/delay-iterable/delay-iterable.js +33 -0
- package/dist/esm/utilities/async/delay-iterable/delay-iterable.js.map +1 -0
- package/dist/esm/utilities/async/lazy-promise/_module.js +2 -0
- package/dist/esm/utilities/async/lazy-promise/_module.js.map +1 -0
- package/dist/esm/utilities/async/lazy-promise/lazy-promise.js.map +1 -0
- package/dist/esm/utilities/async/retry/_module.js +2 -0
- package/dist/esm/utilities/async/retry/_module.js.map +1 -0
- package/dist/esm/utilities/async/retry/retry.js +40 -0
- package/dist/esm/utilities/async/retry/retry.js.map +1 -0
- package/dist/esm/utilities/async/retry-iterable/_module.js +2 -0
- package/dist/esm/utilities/async/retry-iterable/_module.js.map +1 -0
- package/dist/esm/utilities/async/retry-iterable/retry-iterable.js +29 -0
- package/dist/esm/utilities/async/retry-iterable/retry-iterable.js.map +1 -0
- package/dist/esm/utilities/async/timeout/_module.js +2 -0
- package/dist/esm/utilities/async/timeout/_module.js.map +1 -0
- package/dist/esm/utilities/async/timeout/timeout.js +25 -0
- package/dist/esm/utilities/async/timeout/timeout.js.map +1 -0
- package/dist/esm/utilities/async/timeout-iterable/_module.js +2 -0
- package/dist/esm/utilities/async/timeout-iterable/_module.js.map +1 -0
- package/dist/esm/utilities/async/timeout-iterable/timeout-iterable.js +8 -0
- package/dist/esm/utilities/async/timeout-iterable/timeout-iterable.js.map +1 -0
- package/dist/esm/utilities/backof-policies/_module.js +5 -0
- package/dist/esm/utilities/backof-policies/_module.js.map +1 -0
- package/dist/esm/utilities/backof-policies/_shared.js.map +1 -0
- package/dist/esm/utilities/backof-policies/constant-backoff-policy/_module.js +2 -0
- package/dist/esm/utilities/backof-policies/constant-backoff-policy/_module.js.map +1 -0
- package/dist/esm/utilities/backof-policies/constant-backoff-policy/constant-backoff-policy.js +16 -0
- package/dist/esm/utilities/backof-policies/constant-backoff-policy/constant-backoff-policy.js.map +1 -0
- package/dist/esm/utilities/backof-policies/exponential-backoff-policy/_module.js +2 -0
- package/dist/esm/utilities/backof-policies/exponential-backoff-policy/_module.js.map +1 -0
- package/dist/esm/utilities/backof-policies/exponential-backoff-policy/exponential-backoff-policy.js +20 -0
- package/dist/esm/utilities/backof-policies/exponential-backoff-policy/exponential-backoff-policy.js.map +1 -0
- package/dist/esm/utilities/backof-policies/linear-backoff-policy/_module.js +2 -0
- package/dist/esm/utilities/backof-policies/linear-backoff-policy/_module.js.map +1 -0
- package/dist/esm/utilities/backof-policies/linear-backoff-policy/linear-backoff-policy.js +20 -0
- package/dist/esm/utilities/backof-policies/linear-backoff-policy/linear-backoff-policy.js.map +1 -0
- package/dist/esm/utilities/backof-policies/polynomial-backoff-policy/_module.js +2 -0
- package/dist/esm/utilities/backof-policies/polynomial-backoff-policy/_module.js.map +1 -0
- package/dist/esm/utilities/backof-policies/polynomial-backoff-policy/polynomial-backoff-policy.js +20 -0
- package/dist/esm/utilities/backof-policies/polynomial-backoff-policy/polynomial-backoff-policy.js.map +1 -0
- package/dist/esm/utilities/time-span/time-span.js +2 -2
- package/dist/esm/utilities/time-span/time-span.js.map +1 -1
- package/dist/esm/utilities/validation/_module.js +17 -0
- package/dist/esm/utilities/validation/_module.js.map +1 -0
- package/dist/types/_module.d.ts +8 -5
- package/dist/types/_shared/types.d.ts +1 -1
- package/dist/types/_shared/utilities.d.ts +8 -0
- package/dist/types/collection/contracts/_module.d.ts +3 -0
- package/dist/types/collection/contracts/async-collection.contract.d.ts +1310 -0
- package/dist/types/collection/contracts/collection.contract.d.ts +1270 -0
- package/dist/types/collection/implementations/_module.d.ts +4 -0
- package/dist/types/collection/implementations/async-iterable-collection/_module.d.ts +1 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/_module.d.ts +33 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-chunk-iterable.d.ts +15 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-chunk-while-iterable.d.ts +15 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-collapse-iterable.d.ts +12 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-count-by-iterable.d.ts +14 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-cross-join-iterable.d.ts +16 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-entries-iterable.d.ts +13 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-error-handler-iterable.d.ts +9 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-filter-iterable.d.ts +13 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-flat-map-iterable.d.ts +13 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-group-by-iterable.d.ts +15 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-insert-after-iterable.d.ts +15 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-insert-before-iterable.d.ts +15 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-map-iterable.d.ts +13 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-merge-iterable.d.ts +13 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-pad-end-iterable.d.ts +16 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-pad-start-iterable.d.ts +16 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-partion-iterable.d.ts +15 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-repeat-iterable.d.ts +15 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-reverse-iterable.d.ts +15 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-shuffle-iterable.d.ts +13 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-skip-iterable.d.ts +13 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-skip-until-iterable.d.ts +13 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-slice-iterable.d.ts +14 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-sliding-iterable.d.ts +14 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-sort-iterable.d.ts +13 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-split-iterable.d.ts +15 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-take-iterable.d.ts +13 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-take-until-iterable.d.ts +13 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-tap-iterable.d.ts +13 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-unique-iterable.d.ts +13 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-update-iterable.d.ts +14 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-when-iterable.d.ts +14 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-zip-iterable.d.ts +14 -0
- package/dist/types/collection/implementations/async-iterable-collection/async-iterable-collection.d.ts +106 -0
- package/dist/types/collection/implementations/iterable-collection/_module.d.ts +1 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/_module.d.ts +32 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/chunk-iterable.d.ts +14 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/chunk-while-iterable.d.ts +14 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/collapse-iterable.d.ts +12 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/count-by-iterable.d.ts +14 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/cross-join-iterable.d.ts +11 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/entries-iterable.d.ts +12 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/filter-iterable.d.ts +13 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/flat-map-iterable.d.ts +13 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/group-by-iterable.d.ts +15 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/insert-after-iterable.d.ts +14 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/insert-before-iterable.d.ts +14 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/map-iterable.d.ts +13 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/merge-iterable.d.ts +12 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/pad-end-iterable.d.ts +15 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/pad-start-iterable.d.ts +15 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/partion-iterable.d.ts +14 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/repeat-iterable.d.ts +14 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/reverse-iterable.d.ts +14 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/shuffle-iterable.d.ts +12 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/skip-iterable.d.ts +13 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/skip-until-iterable.d.ts +13 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/slice-iterable.d.ts +14 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/sliding-iterable.d.ts +14 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/sort-iterable.d.ts +13 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/split-iterable.d.ts +14 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/take-iterable.d.ts +13 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/take-until-iterable.d.ts +13 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/tap-iterable.d.ts +13 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/unique-iterable.d.ts +13 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/update-iterable.d.ts +14 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/when-iterable.d.ts +14 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/zip-iterable.d.ts +13 -0
- package/dist/types/collection/implementations/iterable-collection/iterable-collection.d.ts +100 -0
- package/dist/types/collection/implementations/list-collection/_module.d.ts +1 -0
- package/dist/types/collection/implementations/list-collection/list-collection.d.ts +97 -0
- package/dist/types/event-bus/contracts/_module.d.ts +4 -0
- package/dist/types/event-bus/contracts/_shared.d.ts +32 -0
- package/dist/types/event-bus/contracts/event-bus-adapter.contract.d.ts +23 -0
- package/dist/types/event-bus/contracts/event-bus-manager.contract.d.ts +20 -0
- package/dist/types/event-bus/contracts/event-bus.contract.d.ts +91 -0
- package/dist/types/event-bus/implementations/_module.d.ts +5 -0
- package/dist/types/event-bus/implementations/_shared/test-utilities/_module.d.ts +1 -0
- package/dist/types/event-bus/implementations/_shared/test-utilities/event-bus-adapter.test-suite.d.ts +20 -0
- package/dist/types/event-bus/implementations/event-bus/_module.d.ts +2 -0
- package/dist/types/event-bus/implementations/event-bus/event-bus-manager.d.ts +23 -0
- package/dist/types/event-bus/implementations/event-bus/event-bus.d.ts +102 -0
- package/dist/types/event-bus/implementations/event-bus/with-namespace-event-bus-adapter.d.ts +16 -0
- package/dist/types/event-bus/implementations/event-bus/with-validation-event-bus-adapter.d.ts +17 -0
- package/dist/types/event-bus/implementations/memory-event-bus-adapter/_module.d.ts +1 -0
- package/dist/types/event-bus/implementations/memory-event-bus-adapter/memory-event-bus-adapter.d.ts +15 -0
- package/dist/types/event-bus/implementations/no-op-event-bus-adapter/_module.d.ts +1 -0
- package/dist/types/event-bus/implementations/no-op-event-bus-adapter/no-op-event-bus-adapter.d.ts +14 -0
- package/dist/types/event-bus/implementations/redis-event-bus-adapter/_module.d.ts +1 -0
- package/dist/types/event-bus/implementations/redis-event-bus-adapter/redis-event-bus-adapter.d.ts +28 -0
- package/dist/types/serializer/contracts/_module.d.ts +1 -0
- package/dist/types/serializer/implementations/_module.d.ts +5 -0
- package/dist/types/serializer/implementations/_shared/test-utilities/_module.d.ts +1 -0
- package/dist/types/serializer/implementations/_shared/test-utilities/serializer.test-suite.d.ts +18 -0
- package/dist/types/serializer/implementations/mongodb-serializer/_module.d.ts +1 -0
- package/dist/types/serializer/implementations/mongodb-serializer/mongodb-serializer.d.ts +13 -0
- package/dist/types/serializer/implementations/redis-serializer/_module.d.ts +1 -0
- package/dist/types/serializer/implementations/redis-serializer/redis-serializer.d.ts +13 -0
- package/dist/types/serializer/implementations/sql-serializer/_module.d.ts +1 -0
- package/dist/types/serializer/implementations/sql-serializer/sql-serializer.d.ts +13 -0
- package/dist/types/serializer/implementations/super-json-serializer/_module.d.ts +1 -0
- package/dist/types/serializer/implementations/super-json-serializer/super-json-serializer.d.ts +37 -0
- package/dist/types/storage/contracts/_module.d.ts +5 -0
- package/dist/types/storage/contracts/storage-adapter.contract.d.ts +58 -0
- package/dist/types/storage/contracts/storage-events.contract.d.ts +90 -0
- package/dist/types/storage/contracts/storage-manager.contract.d.ts +19 -0
- package/dist/types/storage/contracts/storage.contract.d.ts +176 -0
- package/dist/types/storage/implementations/_module.d.ts +6 -0
- package/dist/types/storage/implementations/_shared/test-utilities/_module.d.ts +1 -0
- package/dist/types/storage/implementations/_shared/test-utilities/storage-adapter.test-suite.d.ts +20 -0
- package/dist/types/storage/implementations/memory-storage-adapter/_module.d.ts +1 -0
- package/dist/types/storage/implementations/memory-storage-adapter/memory-storage-adapter.d.ts +18 -0
- package/dist/types/storage/implementations/mongodb-storage-adapter/_module.d.ts +1 -0
- package/dist/types/storage/implementations/mongodb-storage-adapter/mongodb-storage-adapter.d.ts +43 -0
- package/dist/types/storage/implementations/redis-storage-adapter/_module.d.ts +1 -0
- package/dist/types/storage/implementations/redis-storage-adapter/redis-storage-adapter.d.ts +38 -0
- package/dist/types/storage/implementations/sqlite/_module.d.ts +2 -0
- package/dist/types/storage/implementations/sqlite/_shared/_module.d.ts +1 -0
- package/dist/types/storage/implementations/sqlite/_shared/base-sqlite-storage-adapter.d.ts +39 -0
- package/dist/types/storage/implementations/sqlite/libsql-storage-adapter/_module.d.ts +1 -0
- package/dist/types/storage/implementations/sqlite/libsql-storage-adapter/libsql-storage-adapter.d.ts +30 -0
- package/dist/types/storage/implementations/sqlite/sqlite-storage-adapter/_module.d.ts +1 -0
- package/dist/types/storage/implementations/sqlite/sqlite-storage-adapter/sqlite-storage-adapter.d.ts +30 -0
- package/dist/types/storage/implementations/storage/_module.d.ts +2 -0
- package/dist/types/storage/implementations/storage/storage-manager.d.ts +23 -0
- package/dist/types/storage/implementations/storage/storage.d.ts +114 -0
- package/dist/types/storage/implementations/storage/with-event-storage-adapter.d.ts +31 -0
- package/dist/types/storage/implementations/storage/with-namespace-storage-adapter.d.ts +24 -0
- package/dist/types/storage/implementations/storage/with-validation-storage-adapter.d.ts +22 -0
- package/dist/types/utilities/_module.d.ts +3 -0
- package/dist/types/utilities/async/_module.d.ts +10 -0
- package/dist/types/utilities/async/_shared.d.ts +35 -0
- package/dist/types/utilities/async/abortable/_module.d.ts +1 -0
- package/dist/types/utilities/async/abortable/abortable.d.ts +39 -0
- package/dist/types/utilities/async/abortable-iterable/_module.d.ts +1 -0
- package/dist/types/utilities/async/abortable-iterable/abortable-iterable.d.ts +36 -0
- package/dist/types/utilities/async/delay/_module.d.ts +1 -0
- package/dist/types/utilities/async/delay/delay.d.ts +38 -0
- package/dist/types/utilities/async/delay-iterable/_module.d.ts +1 -0
- package/dist/types/utilities/async/delay-iterable/delay-iterable.d.ts +57 -0
- package/dist/types/utilities/async/lazy-promise/_module.d.ts +1 -0
- package/dist/types/utilities/async/lazy-promise/lazy-promise.d.ts +28 -0
- package/dist/types/utilities/async/retry/_module.d.ts +1 -0
- package/dist/types/utilities/async/retry/retry.d.ts +89 -0
- package/dist/types/utilities/async/retry-iterable/_module.d.ts +1 -0
- package/dist/types/utilities/async/retry-iterable/retry-iterable.d.ts +86 -0
- package/dist/types/utilities/async/timeout/_module.d.ts +1 -0
- package/dist/types/utilities/async/timeout/timeout.d.ts +40 -0
- package/dist/types/utilities/async/timeout-iterable/_module.d.ts +1 -0
- package/dist/types/utilities/async/timeout-iterable/timeout-iterable.d.ts +64 -0
- package/dist/types/utilities/backof-policies/_module.d.ts +5 -0
- package/dist/types/utilities/backof-policies/_shared.d.ts +12 -0
- package/dist/types/utilities/backof-policies/constant-backoff-policy/_module.d.ts +1 -0
- package/dist/types/utilities/backof-policies/constant-backoff-policy/constant-backoff-policy.d.ts +28 -0
- package/dist/types/utilities/backof-policies/exponential-backoff-policy/_module.d.ts +1 -0
- package/dist/types/utilities/backof-policies/exponential-backoff-policy/exponential-backoff-policy.d.ts +36 -0
- package/dist/types/utilities/backof-policies/linear-backoff-policy/_module.d.ts +1 -0
- package/dist/types/utilities/backof-policies/linear-backoff-policy/linear-backoff-policy.d.ts +32 -0
- package/dist/types/utilities/backof-policies/polynomial-backoff-policy/_module.d.ts +1 -0
- package/dist/types/utilities/backof-policies/polynomial-backoff-policy/polynomial-backoff-policy.d.ts +36 -0
- package/dist/types/utilities/time-span/time-span.d.ts +3 -2
- package/dist/types/utilities/validation/_module.d.ts +32 -0
- package/package.json +10 -6
- package/dist/cjs/async/_module.js +0 -30
- package/dist/cjs/async/_module.js.map +0 -1
- package/dist/cjs/async/_shared.js.map +0 -1
- package/dist/cjs/async/abortable/_module.js +0 -18
- package/dist/cjs/async/abortable/_module.js.map +0 -1
- package/dist/cjs/async/abortable/abortable.js +0 -48
- package/dist/cjs/async/abortable/abortable.js.map +0 -1
- package/dist/cjs/async/abortable-iterable/_module.js +0 -18
- package/dist/cjs/async/abortable-iterable/_module.js.map +0 -1
- package/dist/cjs/async/abortable-iterable/abortable-iterable.js +0 -32
- package/dist/cjs/async/abortable-iterable/abortable-iterable.js.map +0 -1
- package/dist/cjs/async/backof-policies/_module.js +0 -21
- package/dist/cjs/async/backof-policies/_module.js.map +0 -1
- package/dist/cjs/async/backof-policies/_shared.js.map +0 -1
- package/dist/cjs/async/backof-policies/constant-backoff-policy/_module.js +0 -18
- package/dist/cjs/async/backof-policies/constant-backoff-policy/_module.js.map +0 -1
- package/dist/cjs/async/backof-policies/constant-backoff-policy/constant-backoff-policy.js +0 -19
- package/dist/cjs/async/backof-policies/constant-backoff-policy/constant-backoff-policy.js.map +0 -1
- package/dist/cjs/async/backof-policies/exponential-backoff-policy/_module.js +0 -18
- package/dist/cjs/async/backof-policies/exponential-backoff-policy/_module.js.map +0 -1
- package/dist/cjs/async/backof-policies/exponential-backoff-policy/exponential-backoff-policy.js +0 -23
- package/dist/cjs/async/backof-policies/exponential-backoff-policy/exponential-backoff-policy.js.map +0 -1
- package/dist/cjs/async/backof-policies/linear-backoff-policy/_module.js +0 -18
- package/dist/cjs/async/backof-policies/linear-backoff-policy/_module.js.map +0 -1
- package/dist/cjs/async/backof-policies/linear-backoff-policy/linear-backoff-policy.js +0 -23
- package/dist/cjs/async/backof-policies/linear-backoff-policy/linear-backoff-policy.js.map +0 -1
- package/dist/cjs/async/backof-policies/polynomial-backoff-policy/_module.js +0 -18
- package/dist/cjs/async/backof-policies/polynomial-backoff-policy/_module.js.map +0 -1
- package/dist/cjs/async/backof-policies/polynomial-backoff-policy/polynomial-backoff-policy.js +0 -23
- package/dist/cjs/async/backof-policies/polynomial-backoff-policy/polynomial-backoff-policy.js.map +0 -1
- package/dist/cjs/async/delay/_module.js +0 -18
- package/dist/cjs/async/delay/_module.js.map +0 -1
- package/dist/cjs/async/delay/delay.js +0 -24
- package/dist/cjs/async/delay/delay.js.map +0 -1
- package/dist/cjs/async/delay-iterable/_module.js +0 -18
- package/dist/cjs/async/delay-iterable/_module.js.map +0 -1
- package/dist/cjs/async/delay-iterable/delay-iterable.js +0 -36
- package/dist/cjs/async/delay-iterable/delay-iterable.js.map +0 -1
- package/dist/cjs/async/lazy-promise/_module.js +0 -18
- package/dist/cjs/async/lazy-promise/_module.js.map +0 -1
- package/dist/cjs/async/lazy-promise/lazy-promise.js.map +0 -1
- package/dist/cjs/async/retry/_module.js +0 -18
- package/dist/cjs/async/retry/_module.js.map +0 -1
- package/dist/cjs/async/retry/retry.js +0 -43
- package/dist/cjs/async/retry/retry.js.map +0 -1
- package/dist/cjs/async/retry-iterable/_module.js +0 -18
- package/dist/cjs/async/retry-iterable/_module.js.map +0 -1
- package/dist/cjs/async/retry-iterable/retry-iterable.js +0 -32
- package/dist/cjs/async/retry-iterable/retry-iterable.js.map +0 -1
- package/dist/cjs/async/timeout/_module.js +0 -18
- package/dist/cjs/async/timeout/_module.js.map +0 -1
- package/dist/cjs/async/timeout/timeout.js +0 -28
- package/dist/cjs/async/timeout/timeout.js.map +0 -1
- package/dist/cjs/async/timeout-iterable/_module.js +0 -18
- package/dist/cjs/async/timeout-iterable/_module.js.map +0 -1
- package/dist/cjs/async/timeout-iterable/timeout-iterable.js +0 -11
- package/dist/cjs/async/timeout-iterable/timeout-iterable.js.map +0 -1
- package/dist/cjs/collection/_module.js +0 -21
- package/dist/cjs/collection/_module.js.map +0 -1
- package/dist/cjs/collection/_shared.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_module.js +0 -18
- package/dist/cjs/collection/async-iterable-collection/_module.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/_module.js +0 -50
- package/dist/cjs/collection/async-iterable-collection/_shared/_module.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-chunk-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-chunk-while-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-collapse-iterable.js +0 -22
- package/dist/cjs/collection/async-iterable-collection/_shared/async-collapse-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-count-by-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-cross-join-iterable.js +0 -35
- package/dist/cjs/collection/async-iterable-collection/_shared/async-cross-join-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-entries-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-error-handler-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-filter-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-flat-map-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-group-by-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-insert-after-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-insert-before-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-map-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-merge-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-pad-end-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-pad-start-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-partion-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-repeat-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-reverse-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-shuffle-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-skip-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-skip-until-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-slice-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-sliding-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-sort-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-split-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-take-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-take-until-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-tap-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-unique-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-update-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-when-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-zip-iterable.js +0 -37
- package/dist/cjs/collection/async-iterable-collection/_shared/async-zip-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/async-iterable-collection.js +0 -547
- package/dist/cjs/collection/async-iterable-collection/async-iterable-collection.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_module.js +0 -18
- package/dist/cjs/collection/iterable-collection/_module.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/_module.js +0 -49
- package/dist/cjs/collection/iterable-collection/_shared/_module.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/chunk-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/chunk-while-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/collapse-iterable.js +0 -22
- package/dist/cjs/collection/iterable-collection/_shared/collapse-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/count-by-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/cross-join-iterable.js +0 -37
- package/dist/cjs/collection/iterable-collection/_shared/cross-join-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/entries-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/filter-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/flat-map-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/group-by-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/insert-after-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/insert-before-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/map-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/merge-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/pad-end-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/pad-start-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/partion-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/repeat-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/reverse-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/shuffle-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/skip-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/skip-until-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/slice-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/sliding-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/sort-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/split-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/take-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/take-until-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/tap-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/unique-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/update-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/when-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/zip-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/iterable-collection.js +0 -493
- package/dist/cjs/collection/iterable-collection/iterable-collection.js.map +0 -1
- package/dist/cjs/collection/list-collection/_module.js +0 -18
- package/dist/cjs/collection/list-collection/_module.js.map +0 -1
- package/dist/cjs/collection/list-collection/list-collection.js +0 -627
- package/dist/cjs/collection/list-collection/list-collection.js.map +0 -1
- package/dist/cjs/contracts/_module.js +0 -20
- package/dist/cjs/contracts/_module.js.map +0 -1
- package/dist/cjs/contracts/collection/_module.js +0 -20
- package/dist/cjs/contracts/collection/_module.js.map +0 -1
- package/dist/cjs/contracts/collection/_shared.js.map +0 -1
- package/dist/cjs/contracts/collection/async-collection.contract.js.map +0 -1
- package/dist/cjs/contracts/collection/collection.contract.js.map +0 -1
- package/dist/cjs/contracts/serializer/_module.js +0 -18
- package/dist/cjs/contracts/serializer/_module.js.map +0 -1
- package/dist/cjs/contracts/serializer/serializer.contract.js.map +0 -1
- package/dist/cjs/contracts/storage/_module.js +0 -20
- package/dist/cjs/contracts/storage/_module.js.map +0 -1
- package/dist/cjs/contracts/storage/_shared.js.map +0 -1
- package/dist/cjs/contracts/storage/storage-adapter.contract.js.map +0 -1
- package/dist/cjs/contracts/storage/storage.contract.js.map +0 -1
- package/dist/cjs/serializer/_module.js +0 -22
- package/dist/cjs/serializer/_module.js.map +0 -1
- package/dist/cjs/serializer/_shared/test-utilities/_module.js +0 -18
- package/dist/cjs/serializer/_shared/test-utilities/_module.js.map +0 -1
- package/dist/cjs/serializer/_shared/test-utilities/serializer.test-suite.js.map +0 -1
- package/dist/cjs/serializer/mongodb-serializer/_module.js +0 -18
- package/dist/cjs/serializer/mongodb-serializer/_module.js.map +0 -1
- package/dist/cjs/serializer/mongodb-serializer/mongodb-serializer.js +0 -36
- package/dist/cjs/serializer/mongodb-serializer/mongodb-serializer.js.map +0 -1
- package/dist/cjs/serializer/redis-serializer/_module.js +0 -18
- package/dist/cjs/serializer/redis-serializer/_module.js.map +0 -1
- package/dist/cjs/serializer/redis-serializer/redis-serializer.js +0 -37
- package/dist/cjs/serializer/redis-serializer/redis-serializer.js.map +0 -1
- package/dist/cjs/serializer/sql-serializer/_module.js +0 -18
- package/dist/cjs/serializer/sql-serializer/_module.js.map +0 -1
- package/dist/cjs/serializer/sql-serializer/sql-serializer.js +0 -37
- package/dist/cjs/serializer/sql-serializer/sql-serializer.js.map +0 -1
- package/dist/cjs/serializer/super-json-serializer/_module.js +0 -18
- package/dist/cjs/serializer/super-json-serializer/_module.js.map +0 -1
- package/dist/cjs/serializer/super-json-serializer/super-json-serializer.js +0 -304
- package/dist/cjs/serializer/super-json-serializer/super-json-serializer.js.map +0 -1
- package/dist/cjs/storage/_module.js +0 -23
- package/dist/cjs/storage/_module.js.map +0 -1
- package/dist/cjs/storage/_shared/test-utilities/_module.js +0 -18
- package/dist/cjs/storage/_shared/test-utilities/_module.js.map +0 -1
- package/dist/cjs/storage/_shared/test-utilities/storage-api.test-suite.js +0 -572
- package/dist/cjs/storage/_shared/test-utilities/storage-api.test-suite.js.map +0 -1
- package/dist/cjs/storage/_shared/test-utilities/storage-namespace.test-suite.js +0 -241
- package/dist/cjs/storage/_shared/test-utilities/storage-namespace.test-suite.js.map +0 -1
- package/dist/cjs/storage/_shared/test-utilities/storage-value.test-suite.js +0 -4172
- package/dist/cjs/storage/_shared/test-utilities/storage-value.test-suite.js.map +0 -1
- package/dist/cjs/storage/_shared/test-utilities/storage.test-suite.js +0 -12
- package/dist/cjs/storage/_shared/test-utilities/storage.test-suite.js.map +0 -1
- package/dist/cjs/storage/memory-storage-adapter/_module.js +0 -18
- package/dist/cjs/storage/memory-storage-adapter/_module.js.map +0 -1
- package/dist/cjs/storage/memory-storage-adapter/memory-storage-adapter.js +0 -85
- package/dist/cjs/storage/memory-storage-adapter/memory-storage-adapter.js.map +0 -1
- package/dist/cjs/storage/mongodb-storage-adapter/_module.js +0 -6
- package/dist/cjs/storage/mongodb-storage-adapter/_module.js.map +0 -1
- package/dist/cjs/storage/mongodb-storage-adapter/mongodb-storage-adapter.js +0 -203
- package/dist/cjs/storage/mongodb-storage-adapter/mongodb-storage-adapter.js.map +0 -1
- package/dist/cjs/storage/namespace-storage-adapter.js +0 -56
- package/dist/cjs/storage/namespace-storage-adapter.js.map +0 -1
- package/dist/cjs/storage/redis-storage-adapter/_module.js +0 -18
- package/dist/cjs/storage/redis-storage-adapter/_module.js.map +0 -1
- package/dist/cjs/storage/redis-storage-adapter/redis-storage-adapter.js +0 -228
- package/dist/cjs/storage/redis-storage-adapter/redis-storage-adapter.js.map +0 -1
- package/dist/cjs/storage/sqlite/_module.js +0 -19
- package/dist/cjs/storage/sqlite/_module.js.map +0 -1
- package/dist/cjs/storage/sqlite/_shared/_module.js +0 -18
- package/dist/cjs/storage/sqlite/_shared/_module.js.map +0 -1
- package/dist/cjs/storage/sqlite/_shared/base-sqlite-storage-adapter.js +0 -190
- package/dist/cjs/storage/sqlite/_shared/base-sqlite-storage-adapter.js.map +0 -1
- package/dist/cjs/storage/sqlite/libsql-storage-adapter/_module.js +0 -18
- package/dist/cjs/storage/sqlite/libsql-storage-adapter/_module.js.map +0 -1
- package/dist/cjs/storage/sqlite/libsql-storage-adapter/libsql-storage-adapter.js +0 -53
- package/dist/cjs/storage/sqlite/libsql-storage-adapter/libsql-storage-adapter.js.map +0 -1
- package/dist/cjs/storage/sqlite/sqlite-storage-adapter/_module.js +0 -18
- package/dist/cjs/storage/sqlite/sqlite-storage-adapter/_module.js.map +0 -1
- package/dist/cjs/storage/sqlite/sqlite-storage-adapter/sqlite-storage-adapter.js +0 -52
- package/dist/cjs/storage/sqlite/sqlite-storage-adapter/sqlite-storage-adapter.js.map +0 -1
- package/dist/cjs/storage/storage.js +0 -217
- package/dist/cjs/storage/storage.js.map +0 -1
- package/dist/esm/async/_module.js +0 -12
- package/dist/esm/async/_module.js.map +0 -1
- package/dist/esm/async/_shared.js.map +0 -1
- package/dist/esm/async/abortable/_module.js +0 -2
- package/dist/esm/async/abortable/_module.js.map +0 -1
- package/dist/esm/async/abortable/abortable.js +0 -45
- package/dist/esm/async/abortable/abortable.js.map +0 -1
- package/dist/esm/async/abortable-iterable/_module.js +0 -2
- package/dist/esm/async/abortable-iterable/_module.js.map +0 -1
- package/dist/esm/async/abortable-iterable/abortable-iterable.js +0 -29
- package/dist/esm/async/abortable-iterable/abortable-iterable.js.map +0 -1
- package/dist/esm/async/backof-policies/_module.js +0 -5
- package/dist/esm/async/backof-policies/_module.js.map +0 -1
- package/dist/esm/async/backof-policies/_shared.js.map +0 -1
- package/dist/esm/async/backof-policies/constant-backoff-policy/_module.js +0 -2
- package/dist/esm/async/backof-policies/constant-backoff-policy/_module.js.map +0 -1
- package/dist/esm/async/backof-policies/constant-backoff-policy/constant-backoff-policy.js +0 -16
- package/dist/esm/async/backof-policies/constant-backoff-policy/constant-backoff-policy.js.map +0 -1
- package/dist/esm/async/backof-policies/exponential-backoff-policy/_module.js +0 -2
- package/dist/esm/async/backof-policies/exponential-backoff-policy/_module.js.map +0 -1
- package/dist/esm/async/backof-policies/exponential-backoff-policy/exponential-backoff-policy.js +0 -20
- package/dist/esm/async/backof-policies/exponential-backoff-policy/exponential-backoff-policy.js.map +0 -1
- package/dist/esm/async/backof-policies/linear-backoff-policy/_module.js +0 -2
- package/dist/esm/async/backof-policies/linear-backoff-policy/_module.js.map +0 -1
- package/dist/esm/async/backof-policies/linear-backoff-policy/linear-backoff-policy.js +0 -20
- package/dist/esm/async/backof-policies/linear-backoff-policy/linear-backoff-policy.js.map +0 -1
- package/dist/esm/async/backof-policies/polynomial-backoff-policy/_module.js +0 -2
- package/dist/esm/async/backof-policies/polynomial-backoff-policy/_module.js.map +0 -1
- package/dist/esm/async/backof-policies/polynomial-backoff-policy/polynomial-backoff-policy.js +0 -20
- package/dist/esm/async/backof-policies/polynomial-backoff-policy/polynomial-backoff-policy.js.map +0 -1
- package/dist/esm/async/delay/_module.js +0 -2
- package/dist/esm/async/delay/_module.js.map +0 -1
- package/dist/esm/async/delay/delay.js +0 -21
- package/dist/esm/async/delay/delay.js.map +0 -1
- package/dist/esm/async/delay-iterable/_module.js +0 -2
- package/dist/esm/async/delay-iterable/_module.js.map +0 -1
- package/dist/esm/async/delay-iterable/delay-iterable.js +0 -33
- package/dist/esm/async/delay-iterable/delay-iterable.js.map +0 -1
- package/dist/esm/async/lazy-promise/_module.js +0 -2
- package/dist/esm/async/lazy-promise/_module.js.map +0 -1
- package/dist/esm/async/lazy-promise/lazy-promise.js.map +0 -1
- package/dist/esm/async/retry/_module.js +0 -2
- package/dist/esm/async/retry/_module.js.map +0 -1
- package/dist/esm/async/retry/retry.js +0 -40
- package/dist/esm/async/retry/retry.js.map +0 -1
- package/dist/esm/async/retry-iterable/_module.js +0 -2
- package/dist/esm/async/retry-iterable/_module.js.map +0 -1
- package/dist/esm/async/retry-iterable/retry-iterable.js +0 -29
- package/dist/esm/async/retry-iterable/retry-iterable.js.map +0 -1
- package/dist/esm/async/timeout/_module.js +0 -2
- package/dist/esm/async/timeout/_module.js.map +0 -1
- package/dist/esm/async/timeout/timeout.js +0 -25
- package/dist/esm/async/timeout/timeout.js.map +0 -1
- package/dist/esm/async/timeout-iterable/_module.js +0 -2
- package/dist/esm/async/timeout-iterable/_module.js.map +0 -1
- package/dist/esm/async/timeout-iterable/timeout-iterable.js +0 -8
- package/dist/esm/async/timeout-iterable/timeout-iterable.js.map +0 -1
- package/dist/esm/collection/_module.js +0 -5
- package/dist/esm/collection/_module.js.map +0 -1
- package/dist/esm/collection/_shared.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_module.js +0 -2
- package/dist/esm/collection/async-iterable-collection/_module.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/_module.js +0 -34
- package/dist/esm/collection/async-iterable-collection/_shared/_module.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-chunk-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-chunk-while-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-collapse-iterable.js +0 -18
- package/dist/esm/collection/async-iterable-collection/_shared/async-collapse-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-count-by-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-cross-join-iterable.js +0 -31
- package/dist/esm/collection/async-iterable-collection/_shared/async-cross-join-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-entries-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-error-handler-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-filter-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-flat-map-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-group-by-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-insert-after-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-insert-before-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-map-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-merge-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-pad-end-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-pad-start-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-partion-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-repeat-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-reverse-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-shuffle-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-skip-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-skip-until-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-slice-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-sliding-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-sort-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-split-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-take-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-take-until-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-tap-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-unique-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-update-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-when-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-zip-iterable.js +0 -33
- package/dist/esm/collection/async-iterable-collection/_shared/async-zip-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/async-iterable-collection.js +0 -543
- package/dist/esm/collection/async-iterable-collection/async-iterable-collection.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_module.js +0 -2
- package/dist/esm/collection/iterable-collection/_module.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/_module.js +0 -33
- package/dist/esm/collection/iterable-collection/_shared/_module.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/chunk-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/chunk-while-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/collapse-iterable.js +0 -18
- package/dist/esm/collection/iterable-collection/_shared/collapse-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/count-by-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/cross-join-iterable.js +0 -33
- package/dist/esm/collection/iterable-collection/_shared/cross-join-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/entries-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/filter-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/flat-map-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/group-by-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/insert-after-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/insert-before-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/map-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/merge-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/pad-end-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/pad-start-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/partion-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/repeat-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/reverse-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/shuffle-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/skip-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/skip-until-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/slice-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/sliding-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/sort-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/split-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/take-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/take-until-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/tap-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/unique-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/update-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/when-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/zip-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/iterable-collection.js +0 -489
- package/dist/esm/collection/iterable-collection/iterable-collection.js.map +0 -1
- package/dist/esm/collection/list-collection/_module.js +0 -2
- package/dist/esm/collection/list-collection/_module.js.map +0 -1
- package/dist/esm/collection/list-collection/list-collection.js +0 -623
- package/dist/esm/collection/list-collection/list-collection.js.map +0 -1
- package/dist/esm/contracts/_module.js +0 -4
- package/dist/esm/contracts/_module.js.map +0 -1
- package/dist/esm/contracts/collection/_module.js +0 -4
- package/dist/esm/contracts/collection/_module.js.map +0 -1
- package/dist/esm/contracts/collection/_shared.js.map +0 -1
- package/dist/esm/contracts/collection/async-collection.contract.js.map +0 -1
- package/dist/esm/contracts/collection/collection.contract.js.map +0 -1
- package/dist/esm/contracts/serializer/_module.js +0 -2
- package/dist/esm/contracts/serializer/_module.js.map +0 -1
- package/dist/esm/contracts/serializer/serializer.contract.js.map +0 -1
- package/dist/esm/contracts/storage/_module.js +0 -4
- package/dist/esm/contracts/storage/_module.js.map +0 -1
- package/dist/esm/contracts/storage/_shared.js.map +0 -1
- package/dist/esm/contracts/storage/storage-adapter.contract.js.map +0 -1
- package/dist/esm/contracts/storage/storage.contract.js.map +0 -1
- package/dist/esm/serializer/_module.js +0 -6
- package/dist/esm/serializer/_module.js.map +0 -1
- package/dist/esm/serializer/_shared/test-utilities/_module.js +0 -2
- package/dist/esm/serializer/_shared/test-utilities/_module.js.map +0 -1
- package/dist/esm/serializer/_shared/test-utilities/serializer.test-suite.js.map +0 -1
- package/dist/esm/serializer/mongodb-serializer/_module.js +0 -2
- package/dist/esm/serializer/mongodb-serializer/_module.js.map +0 -1
- package/dist/esm/serializer/mongodb-serializer/mongodb-serializer.js +0 -32
- package/dist/esm/serializer/mongodb-serializer/mongodb-serializer.js.map +0 -1
- package/dist/esm/serializer/redis-serializer/_module.js +0 -2
- package/dist/esm/serializer/redis-serializer/_module.js.map +0 -1
- package/dist/esm/serializer/redis-serializer/redis-serializer.js +0 -33
- package/dist/esm/serializer/redis-serializer/redis-serializer.js.map +0 -1
- package/dist/esm/serializer/sql-serializer/_module.js +0 -2
- package/dist/esm/serializer/sql-serializer/_module.js.map +0 -1
- package/dist/esm/serializer/sql-serializer/sql-serializer.js +0 -33
- package/dist/esm/serializer/sql-serializer/sql-serializer.js.map +0 -1
- package/dist/esm/serializer/super-json-serializer/_module.js +0 -2
- package/dist/esm/serializer/super-json-serializer/_module.js.map +0 -1
- package/dist/esm/serializer/super-json-serializer/super-json-serializer.js +0 -277
- package/dist/esm/serializer/super-json-serializer/super-json-serializer.js.map +0 -1
- package/dist/esm/storage/_module.js +0 -7
- package/dist/esm/storage/_module.js.map +0 -1
- package/dist/esm/storage/_shared/test-utilities/_module.js +0 -2
- package/dist/esm/storage/_shared/test-utilities/_module.js.map +0 -1
- package/dist/esm/storage/_shared/test-utilities/storage-api.test-suite.js +0 -569
- package/dist/esm/storage/_shared/test-utilities/storage-api.test-suite.js.map +0 -1
- package/dist/esm/storage/_shared/test-utilities/storage-namespace.test-suite.js +0 -238
- package/dist/esm/storage/_shared/test-utilities/storage-namespace.test-suite.js.map +0 -1
- package/dist/esm/storage/_shared/test-utilities/storage-value.test-suite.js +0 -4169
- package/dist/esm/storage/_shared/test-utilities/storage-value.test-suite.js.map +0 -1
- package/dist/esm/storage/_shared/test-utilities/storage.test-suite.js +0 -9
- package/dist/esm/storage/_shared/test-utilities/storage.test-suite.js.map +0 -1
- package/dist/esm/storage/memory-storage-adapter/_module.js +0 -2
- package/dist/esm/storage/memory-storage-adapter/_module.js.map +0 -1
- package/dist/esm/storage/memory-storage-adapter/memory-storage-adapter.js +0 -81
- package/dist/esm/storage/memory-storage-adapter/memory-storage-adapter.js.map +0 -1
- package/dist/esm/storage/mongodb-storage-adapter/_module.js +0 -2
- package/dist/esm/storage/mongodb-storage-adapter/_module.js.map +0 -1
- package/dist/esm/storage/mongodb-storage-adapter/mongodb-storage-adapter.js +0 -196
- package/dist/esm/storage/mongodb-storage-adapter/mongodb-storage-adapter.js.map +0 -1
- package/dist/esm/storage/namespace-storage-adapter.js +0 -52
- package/dist/esm/storage/namespace-storage-adapter.js.map +0 -1
- package/dist/esm/storage/redis-storage-adapter/_module.js +0 -2
- package/dist/esm/storage/redis-storage-adapter/_module.js.map +0 -1
- package/dist/esm/storage/redis-storage-adapter/redis-storage-adapter.js +0 -224
- package/dist/esm/storage/redis-storage-adapter/redis-storage-adapter.js.map +0 -1
- package/dist/esm/storage/sqlite/_module.js +0 -3
- package/dist/esm/storage/sqlite/_module.js.map +0 -1
- package/dist/esm/storage/sqlite/_shared/_module.js +0 -2
- package/dist/esm/storage/sqlite/_shared/_module.js.map +0 -1
- package/dist/esm/storage/sqlite/_shared/base-sqlite-storage-adapter.js +0 -186
- package/dist/esm/storage/sqlite/_shared/base-sqlite-storage-adapter.js.map +0 -1
- package/dist/esm/storage/sqlite/libsql-storage-adapter/_module.js +0 -2
- package/dist/esm/storage/sqlite/libsql-storage-adapter/_module.js.map +0 -1
- package/dist/esm/storage/sqlite/libsql-storage-adapter/libsql-storage-adapter.js +0 -49
- package/dist/esm/storage/sqlite/libsql-storage-adapter/libsql-storage-adapter.js.map +0 -1
- package/dist/esm/storage/sqlite/sqlite-storage-adapter/_module.js +0 -2
- package/dist/esm/storage/sqlite/sqlite-storage-adapter/_module.js.map +0 -1
- package/dist/esm/storage/sqlite/sqlite-storage-adapter/sqlite-storage-adapter.js +0 -48
- package/dist/esm/storage/sqlite/sqlite-storage-adapter/sqlite-storage-adapter.js.map +0 -1
- package/dist/esm/storage/storage.js +0 -213
- package/dist/esm/storage/storage.js.map +0 -1
- package/dist/types/async/_module.d.ts +0 -11
- package/dist/types/async/_shared.d.ts +0 -35
- package/dist/types/async/abortable/_module.d.ts +0 -1
- package/dist/types/async/abortable/abortable.d.ts +0 -39
- package/dist/types/async/abortable-iterable/_module.d.ts +0 -1
- package/dist/types/async/abortable-iterable/abortable-iterable.d.ts +0 -36
- package/dist/types/async/backof-policies/_module.d.ts +0 -5
- package/dist/types/async/backof-policies/_shared.d.ts +0 -12
- package/dist/types/async/backof-policies/constant-backoff-policy/_module.d.ts +0 -1
- package/dist/types/async/backof-policies/constant-backoff-policy/constant-backoff-policy.d.ts +0 -28
- package/dist/types/async/backof-policies/exponential-backoff-policy/_module.d.ts +0 -1
- package/dist/types/async/backof-policies/exponential-backoff-policy/exponential-backoff-policy.d.ts +0 -36
- package/dist/types/async/backof-policies/linear-backoff-policy/_module.d.ts +0 -1
- package/dist/types/async/backof-policies/linear-backoff-policy/linear-backoff-policy.d.ts +0 -32
- package/dist/types/async/backof-policies/polynomial-backoff-policy/_module.d.ts +0 -1
- package/dist/types/async/backof-policies/polynomial-backoff-policy/polynomial-backoff-policy.d.ts +0 -36
- package/dist/types/async/delay/_module.d.ts +0 -1
- package/dist/types/async/delay/delay.d.ts +0 -38
- package/dist/types/async/delay-iterable/_module.d.ts +0 -1
- package/dist/types/async/delay-iterable/delay-iterable.d.ts +0 -57
- package/dist/types/async/lazy-promise/_module.d.ts +0 -1
- package/dist/types/async/lazy-promise/lazy-promise.d.ts +0 -28
- package/dist/types/async/retry/_module.d.ts +0 -1
- package/dist/types/async/retry/retry.d.ts +0 -86
- package/dist/types/async/retry-iterable/_module.d.ts +0 -1
- package/dist/types/async/retry-iterable/retry-iterable.d.ts +0 -86
- package/dist/types/async/timeout/_module.d.ts +0 -1
- package/dist/types/async/timeout/timeout.d.ts +0 -40
- package/dist/types/async/timeout-iterable/_module.d.ts +0 -1
- package/dist/types/async/timeout-iterable/timeout-iterable.d.ts +0 -64
- package/dist/types/collection/_module.d.ts +0 -4
- package/dist/types/collection/async-iterable-collection/_module.d.ts +0 -1
- package/dist/types/collection/async-iterable-collection/_shared/_module.d.ts +0 -33
- package/dist/types/collection/async-iterable-collection/_shared/async-chunk-iterable.d.ts +0 -12
- package/dist/types/collection/async-iterable-collection/_shared/async-chunk-while-iterable.d.ts +0 -12
- package/dist/types/collection/async-iterable-collection/_shared/async-collapse-iterable.d.ts +0 -9
- package/dist/types/collection/async-iterable-collection/_shared/async-count-by-iterable.d.ts +0 -11
- package/dist/types/collection/async-iterable-collection/_shared/async-cross-join-iterable.d.ts +0 -13
- package/dist/types/collection/async-iterable-collection/_shared/async-entries-iterable.d.ts +0 -10
- package/dist/types/collection/async-iterable-collection/_shared/async-error-handler-iterable.d.ts +0 -6
- package/dist/types/collection/async-iterable-collection/_shared/async-filter-iterable.d.ts +0 -10
- package/dist/types/collection/async-iterable-collection/_shared/async-flat-map-iterable.d.ts +0 -10
- package/dist/types/collection/async-iterable-collection/_shared/async-group-by-iterable.d.ts +0 -12
- package/dist/types/collection/async-iterable-collection/_shared/async-insert-after-iterable.d.ts +0 -12
- package/dist/types/collection/async-iterable-collection/_shared/async-insert-before-iterable.d.ts +0 -12
- package/dist/types/collection/async-iterable-collection/_shared/async-map-iterable.d.ts +0 -10
- package/dist/types/collection/async-iterable-collection/_shared/async-merge-iterable.d.ts +0 -10
- package/dist/types/collection/async-iterable-collection/_shared/async-pad-end-iterable.d.ts +0 -13
- package/dist/types/collection/async-iterable-collection/_shared/async-pad-start-iterable.d.ts +0 -13
- package/dist/types/collection/async-iterable-collection/_shared/async-partion-iterable.d.ts +0 -12
- package/dist/types/collection/async-iterable-collection/_shared/async-repeat-iterable.d.ts +0 -12
- package/dist/types/collection/async-iterable-collection/_shared/async-reverse-iterable.d.ts +0 -12
- package/dist/types/collection/async-iterable-collection/_shared/async-shuffle-iterable.d.ts +0 -10
- package/dist/types/collection/async-iterable-collection/_shared/async-skip-iterable.d.ts +0 -10
- package/dist/types/collection/async-iterable-collection/_shared/async-skip-until-iterable.d.ts +0 -10
- package/dist/types/collection/async-iterable-collection/_shared/async-slice-iterable.d.ts +0 -11
- package/dist/types/collection/async-iterable-collection/_shared/async-sliding-iterable.d.ts +0 -11
- package/dist/types/collection/async-iterable-collection/_shared/async-sort-iterable.d.ts +0 -10
- package/dist/types/collection/async-iterable-collection/_shared/async-split-iterable.d.ts +0 -12
- package/dist/types/collection/async-iterable-collection/_shared/async-take-iterable.d.ts +0 -10
- package/dist/types/collection/async-iterable-collection/_shared/async-take-until-iterable.d.ts +0 -10
- package/dist/types/collection/async-iterable-collection/_shared/async-tap-iterable.d.ts +0 -10
- package/dist/types/collection/async-iterable-collection/_shared/async-unique-iterable.d.ts +0 -10
- package/dist/types/collection/async-iterable-collection/_shared/async-update-iterable.d.ts +0 -11
- package/dist/types/collection/async-iterable-collection/_shared/async-when-iterable.d.ts +0 -11
- package/dist/types/collection/async-iterable-collection/_shared/async-zip-iterable.d.ts +0 -11
- package/dist/types/collection/async-iterable-collection/async-iterable-collection.d.ts +0 -105
- package/dist/types/collection/iterable-collection/_module.d.ts +0 -1
- package/dist/types/collection/iterable-collection/_shared/_module.d.ts +0 -32
- package/dist/types/collection/iterable-collection/_shared/chunk-iterable.d.ts +0 -11
- package/dist/types/collection/iterable-collection/_shared/chunk-while-iterable.d.ts +0 -11
- package/dist/types/collection/iterable-collection/_shared/collapse-iterable.d.ts +0 -9
- package/dist/types/collection/iterable-collection/_shared/count-by-iterable.d.ts +0 -11
- package/dist/types/collection/iterable-collection/_shared/cross-join-iterable.d.ts +0 -8
- package/dist/types/collection/iterable-collection/_shared/entries-iterable.d.ts +0 -9
- package/dist/types/collection/iterable-collection/_shared/filter-iterable.d.ts +0 -10
- package/dist/types/collection/iterable-collection/_shared/flat-map-iterable.d.ts +0 -10
- package/dist/types/collection/iterable-collection/_shared/group-by-iterable.d.ts +0 -12
- package/dist/types/collection/iterable-collection/_shared/insert-after-iterable.d.ts +0 -11
- package/dist/types/collection/iterable-collection/_shared/insert-before-iterable.d.ts +0 -11
- package/dist/types/collection/iterable-collection/_shared/map-iterable.d.ts +0 -10
- package/dist/types/collection/iterable-collection/_shared/merge-iterable.d.ts +0 -9
- package/dist/types/collection/iterable-collection/_shared/pad-end-iterable.d.ts +0 -12
- package/dist/types/collection/iterable-collection/_shared/pad-start-iterable.d.ts +0 -12
- package/dist/types/collection/iterable-collection/_shared/partion-iterable.d.ts +0 -11
- package/dist/types/collection/iterable-collection/_shared/repeat-iterable.d.ts +0 -11
- package/dist/types/collection/iterable-collection/_shared/reverse-iterable.d.ts +0 -11
- package/dist/types/collection/iterable-collection/_shared/shuffle-iterable.d.ts +0 -9
- package/dist/types/collection/iterable-collection/_shared/skip-iterable.d.ts +0 -10
- package/dist/types/collection/iterable-collection/_shared/skip-until-iterable.d.ts +0 -10
- package/dist/types/collection/iterable-collection/_shared/slice-iterable.d.ts +0 -11
- package/dist/types/collection/iterable-collection/_shared/sliding-iterable.d.ts +0 -11
- package/dist/types/collection/iterable-collection/_shared/sort-iterable.d.ts +0 -10
- package/dist/types/collection/iterable-collection/_shared/split-iterable.d.ts +0 -11
- package/dist/types/collection/iterable-collection/_shared/take-iterable.d.ts +0 -10
- package/dist/types/collection/iterable-collection/_shared/take-until-iterable.d.ts +0 -10
- package/dist/types/collection/iterable-collection/_shared/tap-iterable.d.ts +0 -10
- package/dist/types/collection/iterable-collection/_shared/unique-iterable.d.ts +0 -10
- package/dist/types/collection/iterable-collection/_shared/update-iterable.d.ts +0 -11
- package/dist/types/collection/iterable-collection/_shared/when-iterable.d.ts +0 -11
- package/dist/types/collection/iterable-collection/_shared/zip-iterable.d.ts +0 -10
- package/dist/types/collection/iterable-collection/iterable-collection.d.ts +0 -100
- package/dist/types/collection/list-collection/_module.d.ts +0 -1
- package/dist/types/collection/list-collection/list-collection.d.ts +0 -97
- package/dist/types/contracts/_module.d.ts +0 -3
- package/dist/types/contracts/collection/_module.d.ts +0 -3
- package/dist/types/contracts/collection/async-collection.contract.d.ts +0 -1309
- package/dist/types/contracts/collection/collection.contract.d.ts +0 -1269
- package/dist/types/contracts/serializer/_module.d.ts +0 -1
- package/dist/types/contracts/storage/_module.d.ts +0 -3
- package/dist/types/contracts/storage/storage-adapter.contract.d.ts +0 -53
- package/dist/types/contracts/storage/storage.contract.d.ts +0 -148
- package/dist/types/serializer/_module.d.ts +0 -5
- package/dist/types/serializer/_shared/test-utilities/_module.d.ts +0 -1
- package/dist/types/serializer/_shared/test-utilities/serializer.test-suite.d.ts +0 -18
- package/dist/types/serializer/mongodb-serializer/_module.d.ts +0 -1
- package/dist/types/serializer/mongodb-serializer/mongodb-serializer.d.ts +0 -13
- package/dist/types/serializer/redis-serializer/_module.d.ts +0 -1
- package/dist/types/serializer/redis-serializer/redis-serializer.d.ts +0 -13
- package/dist/types/serializer/sql-serializer/_module.d.ts +0 -1
- package/dist/types/serializer/sql-serializer/sql-serializer.d.ts +0 -13
- package/dist/types/serializer/super-json-serializer/_module.d.ts +0 -1
- package/dist/types/serializer/super-json-serializer/super-json-serializer.d.ts +0 -37
- package/dist/types/storage/_module.d.ts +0 -6
- package/dist/types/storage/_shared/test-utilities/_module.d.ts +0 -1
- package/dist/types/storage/_shared/test-utilities/storage-api.test-suite.d.ts +0 -20
- package/dist/types/storage/_shared/test-utilities/storage-namespace.test-suite.d.ts +0 -20
- package/dist/types/storage/_shared/test-utilities/storage-value.test-suite.d.ts +0 -20
- package/dist/types/storage/_shared/test-utilities/storage.test-suite.d.ts +0 -20
- package/dist/types/storage/memory-storage-adapter/_module.d.ts +0 -1
- package/dist/types/storage/memory-storage-adapter/memory-storage-adapter.d.ts +0 -18
- package/dist/types/storage/mongodb-storage-adapter/_module.d.ts +0 -1
- package/dist/types/storage/mongodb-storage-adapter/mongodb-storage-adapter.d.ts +0 -43
- package/dist/types/storage/namespace-storage-adapter.d.ts +0 -25
- package/dist/types/storage/redis-storage-adapter/_module.d.ts +0 -1
- package/dist/types/storage/redis-storage-adapter/redis-storage-adapter.d.ts +0 -38
- package/dist/types/storage/sqlite/_module.d.ts +0 -2
- package/dist/types/storage/sqlite/_shared/_module.d.ts +0 -1
- package/dist/types/storage/sqlite/_shared/base-sqlite-storage-adapter.d.ts +0 -39
- package/dist/types/storage/sqlite/libsql-storage-adapter/_module.d.ts +0 -1
- package/dist/types/storage/sqlite/libsql-storage-adapter/libsql-storage-adapter.d.ts +0 -30
- package/dist/types/storage/sqlite/sqlite-storage-adapter/_module.d.ts +0 -1
- package/dist/types/storage/sqlite/sqlite-storage-adapter/sqlite-storage-adapter.d.ts +0 -30
- package/dist/types/storage/storage.d.ts +0 -39
- /package/dist/cjs/{contracts/collection → collection/contracts}/_shared.js +0 -0
- /package/dist/cjs/{contracts/collection → collection/contracts}/async-collection.contract.js +0 -0
- /package/dist/cjs/{contracts/collection → collection/contracts}/collection.contract.js +0 -0
- /package/dist/cjs/collection/{_shared.js → implementations/_shared.js} +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-chunk-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-chunk-while-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-count-by-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-entries-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-error-handler-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-filter-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-flat-map-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-group-by-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-insert-after-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-insert-before-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-map-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-merge-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-pad-end-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-pad-start-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-partion-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-repeat-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-reverse-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-shuffle-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-skip-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-skip-until-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-slice-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-sliding-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-sort-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-split-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-take-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-take-until-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-tap-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-unique-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-update-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-when-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/chunk-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/chunk-while-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/count-by-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/entries-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/filter-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/flat-map-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/group-by-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/insert-after-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/insert-before-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/map-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/merge-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/pad-end-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/pad-start-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/partion-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/repeat-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/reverse-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/shuffle-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/skip-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/skip-until-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/slice-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/sliding-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/sort-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/split-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/take-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/take-until-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/tap-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/unique-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/update-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/when-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/zip-iterable.js +0 -0
- /package/dist/cjs/{contracts/serializer → serializer/contracts}/serializer.contract.js +0 -0
- /package/dist/cjs/serializer/{_shared → implementations/_shared}/test-utilities/serializer.test-suite.js +0 -0
- /package/dist/cjs/{contracts/storage → storage/contracts}/_shared.js +0 -0
- /package/dist/cjs/{contracts/storage → storage/contracts}/storage-adapter.contract.js +0 -0
- /package/dist/cjs/{contracts/storage → storage/contracts}/storage.contract.js +0 -0
- /package/dist/cjs/{async → utilities/async}/_shared.js +0 -0
- /package/dist/cjs/{async → utilities/async}/lazy-promise/lazy-promise.js +0 -0
- /package/dist/cjs/{async → utilities}/backof-policies/_shared.js +0 -0
- /package/dist/esm/{contracts/collection → collection/contracts}/_shared.js +0 -0
- /package/dist/esm/{contracts/collection → collection/contracts}/async-collection.contract.js +0 -0
- /package/dist/esm/{contracts/collection → collection/contracts}/collection.contract.js +0 -0
- /package/dist/esm/collection/{_shared.js → implementations/_shared.js} +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-chunk-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-chunk-while-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-count-by-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-entries-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-error-handler-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-filter-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-flat-map-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-group-by-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-insert-after-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-insert-before-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-map-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-merge-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-pad-end-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-pad-start-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-partion-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-repeat-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-reverse-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-shuffle-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-skip-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-skip-until-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-slice-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-sliding-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-sort-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-split-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-take-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-take-until-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-tap-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-unique-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-update-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-when-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/chunk-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/chunk-while-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/count-by-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/entries-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/filter-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/flat-map-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/group-by-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/insert-after-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/insert-before-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/map-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/merge-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/pad-end-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/pad-start-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/partion-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/repeat-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/reverse-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/shuffle-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/skip-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/skip-until-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/slice-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/sliding-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/sort-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/split-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/take-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/take-until-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/tap-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/unique-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/update-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/when-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/zip-iterable.js +0 -0
- /package/dist/esm/{contracts/serializer → serializer/contracts}/serializer.contract.js +0 -0
- /package/dist/esm/serializer/{_shared → implementations/_shared}/test-utilities/serializer.test-suite.js +0 -0
- /package/dist/esm/{contracts/storage → storage/contracts}/_shared.js +0 -0
- /package/dist/esm/{contracts/storage → storage/contracts}/storage-adapter.contract.js +0 -0
- /package/dist/esm/{contracts/storage → storage/contracts}/storage.contract.js +0 -0
- /package/dist/esm/{async → utilities/async}/_shared.js +0 -0
- /package/dist/esm/{async → utilities/async}/lazy-promise/lazy-promise.js +0 -0
- /package/dist/esm/{async → utilities}/backof-policies/_shared.js +0 -0
- /package/dist/types/{contracts/collection → collection/contracts}/_shared.d.ts +0 -0
- /package/dist/types/collection/{_shared.d.ts → implementations/_shared.d.ts} +0 -0
- /package/dist/types/{contracts/serializer → serializer/contracts}/serializer.contract.d.ts +0 -0
- /package/dist/types/{contracts/storage → storage/contracts}/_shared.d.ts +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"abortable.js","sourceRoot":"","sources":["../../../../src/async/abortable/abortable.ts"],"names":[],"mappings":";;AA8FA,8BAoBC;AA9GD,6CAIyB;AACzB,0DAA2D;AAK3D,SAAS,oBAAoB,CACzB,WAAwB;IAKxB,IAAI,OAAO,GAAsC,IAAI,CAAC;IACtD,SAAS,KAAK;QACV,IAAI,OAAO,KAAK,IAAI,EAAE,CAAC;YACnB,OAAO;QACX,CAAC;QACD,OAAO,CACH,IAAI,yBAAe,CACf,uCAAuC,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,GAAG,EACpE,WAAW,CAAC,MAAM,CACrB,CACJ,CAAC;IACN,CAAC;IAED,IAAI,WAAW,CAAC,OAAO,EAAE,CAAC;QACtB,OAAO;YACH,OAAO,EAAE,OAAO,CAAC,MAAM,CACnB,IAAI,yBAAe,CACf,uCAAuC,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,GAAG,EACrE,WAAW,CAAC,MAAM,CACrB,CACJ;YACD,KAAK;SACR,CAAC;IACN,CAAC;IAED,OAAO;QACH,OAAO,EAAE,IAAI,OAAO,CAAC,CAAC,QAAQ,EAAE,MAAM,EAAE,EAAE;YACtC,OAAO,GAAG,MAAM,CAAC;YACjB,IAAI,WAAW,CAAC,OAAO,EAAE,CAAC;gBACtB,KAAK,EAAE,CAAC;gBACR,OAAO;YACX,CAAC;YACD,WAAW,CAAC,gBAAgB,CAAC,OAAO,EAAE,KAAK,EAAE;gBACzC,IAAI,EAAE,IAAI;aACb,CAAC,CAAC;QACP,CAAC,CAAC;QACF,KAAK;KACR,CAAC;AACN,CAAC;AAoCD,SAAgB,SAAS,CACrB,OAAkC,EAClC,WAAwB;IAExB,OAAO,IAAI,qBAAW,CAAC,KAAK,IAAI,EAAE;QAC9B,IAAI,WAAW,CAAC,OAAO,EAAE,CAAC;YACtB,MAAM,IAAI,yBAAe,CACrB,uCAAuC,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,GAAG,EACpE,WAAW,CAAC,MAAM,CACrB,CAAC;QACN,CAAC;QAED,MAAM,EAAE,OAAO,EAAE,kBAAkB,EAAE,KAAK,EAAE,GACxC,oBAAoB,CAAS,WAAW,CAAC,CAAC;QAC9C,IAAI,CAAC;YACD,OAAO,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,kBAAkB,CAAC,CAAC,CAAC;QAC/D,CAAC;gBAAS,CAAC;YACP,WAAW,CAAC,mBAAmB,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;QACpD,CAAC;IACL,CAAC,CAAC,CAAC;AACP,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("../../async/abortable-iterable/abortable-iterable"), exports);
|
|
18
|
-
//# sourceMappingURL=_module.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../../src/async/abortable-iterable/_module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gFAA8D"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.abortableIterable = abortableIterable;
|
|
4
|
-
const _shared_1 = require("../../async/_shared");
|
|
5
|
-
const _module_1 = require("../../async/abortable/_module");
|
|
6
|
-
class AbortableIterable {
|
|
7
|
-
iterable;
|
|
8
|
-
abortSignal;
|
|
9
|
-
constructor(iterable, abortSignal) {
|
|
10
|
-
this.iterable = iterable;
|
|
11
|
-
this.abortSignal = abortSignal;
|
|
12
|
-
}
|
|
13
|
-
async *[Symbol.asyncIterator]() {
|
|
14
|
-
const iterator = this.iterable[Symbol.asyncIterator]();
|
|
15
|
-
let result = await (0, _module_1.abortable)(() => iterator.next(), this.abortSignal);
|
|
16
|
-
yield result.value;
|
|
17
|
-
while (!result.done) {
|
|
18
|
-
if (this.abortSignal.aborted) {
|
|
19
|
-
throw new _shared_1.AbortAsyncError(`Promise was aborted with reason of "${String(this.abortSignal.aborted)}"`, this.abortSignal.reason);
|
|
20
|
-
}
|
|
21
|
-
result = await (0, _module_1.abortable)(() => iterator.next(), this.abortSignal);
|
|
22
|
-
if (result.done) {
|
|
23
|
-
return result.value;
|
|
24
|
-
}
|
|
25
|
-
yield result.value;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
function abortableIterable(iterable, abortSignal) {
|
|
30
|
-
return new AbortableIterable(iterable, abortSignal);
|
|
31
|
-
}
|
|
32
|
-
//# sourceMappingURL=abortable-iterable.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"abortable-iterable.js","sourceRoot":"","sources":["../../../../src/async/abortable-iterable/abortable-iterable.ts"],"names":[],"mappings":";;AA0EA,8CAKC;AA3ED,6CAIyB;AACzB,uDAAsD;AAKtD,MAAM,iBAAiB;IAEE;IACA;IAFrB,YACqB,QAA+B,EAC/B,WAAwB;QADxB,aAAQ,GAAR,QAAQ,CAAuB;QAC/B,gBAAW,GAAX,WAAW,CAAa;IAC1C,CAAC;IAEJ,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC;QACzB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,aAAa,CAAC,EAAE,CAAC;QACvD,IAAI,MAAM,GAAG,MAAM,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,IAAI,EAAE,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC;QACtE,MAAM,MAAM,CAAC,KAAK,CAAC;QAEnB,OAAO,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;YAClB,IAAI,IAAI,CAAC,WAAW,CAAC,OAAO,EAAE,CAAC;gBAC3B,MAAM,IAAI,yBAAe,CACrB,uCAAuC,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,GAAG,EAC1E,IAAI,CAAC,WAAW,CAAC,MAAM,CAC1B,CAAC;YACN,CAAC;YACD,MAAM,GAAG,MAAM,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,IAAI,EAAE,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC;YAClE,IAAI,MAAM,CAAC,IAAI,EAAE,CAAC;gBAEd,OAAO,MAAM,CAAC,KAAK,CAAC;YACxB,CAAC;YACD,MAAM,MAAM,CAAC,KAAK,CAAC;QACvB,CAAC;IACL,CAAC;CACJ;AAkCD,SAAgB,iBAAiB,CAC7B,QAA+B,EAC/B,WAAwB;IAExB,OAAO,IAAI,iBAAiB,CAAC,QAAQ,EAAE,WAAW,CAAC,CAAC;AACxD,CAAC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("../../async/backof-policies/constant-backoff-policy/_module"), exports);
|
|
18
|
-
__exportStar(require("../../async/backof-policies/exponential-backoff-policy/_module"), exports);
|
|
19
|
-
__exportStar(require("../../async/backof-policies/linear-backoff-policy/_module"), exports);
|
|
20
|
-
__exportStar(require("../../async/backof-policies/polynomial-backoff-policy/_module"), exports);
|
|
21
|
-
//# sourceMappingURL=_module.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../../src/async/backof-policies/_module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AACA,0FAAwE;AACxE,6FAA2E;AAC3E,wFAAsE;AACtE,4FAA0E"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_shared.js","sourceRoot":"","sources":["../../../../src/async/backof-policies/_shared.ts"],"names":[],"mappings":";;AAaA,gCAMC;AAND,SAAgB,UAAU,CACtB,MAAc,EACd,KAAa,EACb,UAAwB;IAExB,OAAO,CAAC,CAAC,GAAG,MAAM,GAAG,UAAU,EAAE,CAAC,GAAG,KAAK,CAAC;AAC/C,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("../../../async/backof-policies/constant-backoff-policy/constant-backoff-policy"), exports);
|
|
18
|
-
//# sourceMappingURL=_module.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../../../src/async/backof-policies/constant-backoff-policy/_module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0GAAwF"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.constantBackoffPolicy = constantBackoffPolicy;
|
|
4
|
-
const _module_1 = require("../../../utilities/_module");
|
|
5
|
-
const _shared_1 = require("../../../async/backof-policies/_shared");
|
|
6
|
-
function constantBackoffPolicy(settings = {}) {
|
|
7
|
-
return (_attempt, error) => {
|
|
8
|
-
if (typeof settings === "function") {
|
|
9
|
-
settings = settings(error);
|
|
10
|
-
}
|
|
11
|
-
let { delay = 1000 } = settings;
|
|
12
|
-
if (delay instanceof _module_1.TimeSpan) {
|
|
13
|
-
delay = delay.toMilliseconds();
|
|
14
|
-
}
|
|
15
|
-
const { jitter = 0.5, _mathRandom = Math.random } = settings;
|
|
16
|
-
return (0, _shared_1.withJitter)(jitter, delay, _mathRandom);
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
//# sourceMappingURL=constant-backoff-policy.js.map
|
package/dist/cjs/async/backof-policies/constant-backoff-policy/constant-backoff-policy.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constant-backoff-policy.js","sourceRoot":"","sources":["../../../../../src/async/backof-policies/constant-backoff-policy/constant-backoff-policy.ts"],"names":[],"mappings":";;AAiCA,sDAgBC;AA7CD,iDAA+C;AAC/C,6DAGyC;AAyBzC,SAAgB,qBAAqB,CACjC,WAE4D,EAAE;IAE9D,OAAO,CAAC,QAAQ,EAAE,KAAK,EAAE,EAAE;QACvB,IAAI,OAAO,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjC,QAAQ,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;QAC/B,CAAC;QACD,IAAI,EAAE,KAAK,GAAG,IAAI,EAAE,GAAG,QAAQ,CAAC;QAChC,IAAI,KAAK,YAAY,kBAAQ,EAAE,CAAC;YAC5B,KAAK,GAAG,KAAK,CAAC,cAAc,EAAE,CAAC;QACnC,CAAC;QACD,MAAM,EAAE,MAAM,GAAG,GAAG,EAAE,WAAW,GAAG,IAAI,CAAC,MAAM,EAAE,GAAG,QAAQ,CAAC;QAC7D,OAAO,IAAA,oBAAU,EAAC,MAAM,EAAE,KAAK,EAAE,WAAW,CAAC,CAAC;IAClD,CAAC,CAAC;AACN,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("../../../async/backof-policies/exponential-backoff-policy/exponential-backoff-policy"), exports);
|
|
18
|
-
//# sourceMappingURL=_module.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../../../src/async/backof-policies/exponential-backoff-policy/_module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gHAA8F"}
|
package/dist/cjs/async/backof-policies/exponential-backoff-policy/exponential-backoff-policy.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.exponentialBackoffPolicy = exponentialBackoffPolicy;
|
|
4
|
-
const _module_1 = require("../../../utilities/_module");
|
|
5
|
-
const _shared_1 = require("../../../async/backof-policies/_shared");
|
|
6
|
-
function exponentialBackoffPolicy(settings = {}) {
|
|
7
|
-
return (attempt, error) => {
|
|
8
|
-
if (typeof settings === "function") {
|
|
9
|
-
settings = settings(error);
|
|
10
|
-
}
|
|
11
|
-
let { maxDelay = 60_000, minDelay = 1_000 } = settings;
|
|
12
|
-
if (maxDelay instanceof _module_1.TimeSpan) {
|
|
13
|
-
maxDelay = maxDelay.toMilliseconds();
|
|
14
|
-
}
|
|
15
|
-
if (minDelay instanceof _module_1.TimeSpan) {
|
|
16
|
-
minDelay = minDelay.toMilliseconds();
|
|
17
|
-
}
|
|
18
|
-
const { multiplier = 2, jitter = 0.5, _mathRandom = Math.random, } = settings;
|
|
19
|
-
const exponential = Math.min(maxDelay, minDelay * Math.pow(multiplier, attempt));
|
|
20
|
-
return (0, _shared_1.withJitter)(jitter, exponential, _mathRandom);
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
//# sourceMappingURL=exponential-backoff-policy.js.map
|
package/dist/cjs/async/backof-policies/exponential-backoff-policy/exponential-backoff-policy.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"exponential-backoff-policy.js","sourceRoot":"","sources":["../../../../../src/async/backof-policies/exponential-backoff-policy/exponential-backoff-policy.ts"],"names":[],"mappings":";;AAuCA,4DA2BC;AA9DD,iDAA+C;AAE/C,6DAA6D;AAiC7D,SAAgB,wBAAwB,CACpC,WAE+D,EAAE;IAEjE,OAAO,CAAC,OAAO,EAAE,KAAK,EAAE,EAAE;QACtB,IAAI,OAAO,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjC,QAAQ,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;QAC/B,CAAC;QACD,IAAI,EAAE,QAAQ,GAAG,MAAM,EAAE,QAAQ,GAAG,KAAK,EAAE,GAAG,QAAQ,CAAC;QACvD,IAAI,QAAQ,YAAY,kBAAQ,EAAE,CAAC;YAC/B,QAAQ,GAAG,QAAQ,CAAC,cAAc,EAAE,CAAC;QACzC,CAAC;QACD,IAAI,QAAQ,YAAY,kBAAQ,EAAE,CAAC;YAC/B,QAAQ,GAAG,QAAQ,CAAC,cAAc,EAAE,CAAC;QACzC,CAAC;QACD,MAAM,EACF,UAAU,GAAG,CAAC,EACd,MAAM,GAAG,GAAG,EACZ,WAAW,GAAG,IAAI,CAAC,MAAM,GAC5B,GAAG,QAAQ,CAAC;QACb,MAAM,WAAW,GAAG,IAAI,CAAC,GAAG,CACxB,QAAQ,EACR,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,UAAU,EAAE,OAAO,CAAC,CAC3C,CAAC;QACF,OAAO,IAAA,oBAAU,EAAC,MAAM,EAAE,WAAW,EAAE,WAAW,CAAC,CAAC;IACxD,CAAC,CAAC;AACN,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("../../../async/backof-policies/linear-backoff-policy/linear-backoff-policy"), exports);
|
|
18
|
-
//# sourceMappingURL=_module.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../../../src/async/backof-policies/linear-backoff-policy/_module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sGAAoF"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.linearBackoffPolicy = linearBackoffPolicy;
|
|
4
|
-
const _module_1 = require("../../../utilities/_module");
|
|
5
|
-
const _shared_1 = require("../../../async/backof-policies/_shared");
|
|
6
|
-
function linearBackoffPolicy(settings = {}) {
|
|
7
|
-
return (attempt, error) => {
|
|
8
|
-
if (typeof settings === "function") {
|
|
9
|
-
settings = settings(error);
|
|
10
|
-
}
|
|
11
|
-
let { maxDelay = 6000, minDelay = 1_000 } = settings;
|
|
12
|
-
if (maxDelay instanceof _module_1.TimeSpan) {
|
|
13
|
-
maxDelay = maxDelay.toMilliseconds();
|
|
14
|
-
}
|
|
15
|
-
if (minDelay instanceof _module_1.TimeSpan) {
|
|
16
|
-
minDelay = minDelay.toMilliseconds();
|
|
17
|
-
}
|
|
18
|
-
const { jitter = 0.5, _mathRandom = Math.random } = settings;
|
|
19
|
-
const linear = Math.min(maxDelay, minDelay * attempt);
|
|
20
|
-
return (0, _shared_1.withJitter)(jitter, linear, _mathRandom);
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
//# sourceMappingURL=linear-backoff-policy.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"linear-backoff-policy.js","sourceRoot":"","sources":["../../../../../src/async/backof-policies/linear-backoff-policy/linear-backoff-policy.ts"],"names":[],"mappings":";;AAmCA,kDAoBC;AAnDD,iDAA+C;AAE/C,6DAA6D;AA6B7D,SAAgB,mBAAmB,CAC/B,WAE0D,EAAE;IAE5D,OAAO,CAAC,OAAO,EAAE,KAAK,EAAE,EAAE;QACtB,IAAI,OAAO,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjC,QAAQ,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;QAC/B,CAAC;QACD,IAAI,EAAE,QAAQ,GAAG,IAAI,EAAE,QAAQ,GAAG,KAAK,EAAE,GAAG,QAAQ,CAAC;QACrD,IAAI,QAAQ,YAAY,kBAAQ,EAAE,CAAC;YAC/B,QAAQ,GAAG,QAAQ,CAAC,cAAc,EAAE,CAAC;QACzC,CAAC;QACD,IAAI,QAAQ,YAAY,kBAAQ,EAAE,CAAC;YAC/B,QAAQ,GAAG,QAAQ,CAAC,cAAc,EAAE,CAAC;QACzC,CAAC;QACD,MAAM,EAAE,MAAM,GAAG,GAAG,EAAE,WAAW,GAAG,IAAI,CAAC,MAAM,EAAE,GAAG,QAAQ,CAAC;QAC7D,MAAM,MAAM,GAAG,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAAC,CAAC;QACtD,OAAO,IAAA,oBAAU,EAAC,MAAM,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC;IACnD,CAAC,CAAC;AACN,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("../../../async/backof-policies/polynomial-backoff-policy/polynomial-backoff-policy"), exports);
|
|
18
|
-
//# sourceMappingURL=_module.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../../../src/async/backof-policies/polynomial-backoff-policy/_module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8GAA4F"}
|
package/dist/cjs/async/backof-policies/polynomial-backoff-policy/polynomial-backoff-policy.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.polynomialBackoffPolicy = polynomialBackoffPolicy;
|
|
4
|
-
const _module_1 = require("../../../utilities/_module");
|
|
5
|
-
const _shared_1 = require("../../../async/backof-policies/_shared");
|
|
6
|
-
function polynomialBackoffPolicy(settings = {}) {
|
|
7
|
-
return (attempt, error) => {
|
|
8
|
-
if (typeof settings === "function") {
|
|
9
|
-
settings = settings(error);
|
|
10
|
-
}
|
|
11
|
-
let { maxDelay = 6000, minDelay = 1_000 } = settings;
|
|
12
|
-
if (maxDelay instanceof _module_1.TimeSpan) {
|
|
13
|
-
maxDelay = maxDelay.toMilliseconds();
|
|
14
|
-
}
|
|
15
|
-
if (minDelay instanceof _module_1.TimeSpan) {
|
|
16
|
-
minDelay = minDelay.toMilliseconds();
|
|
17
|
-
}
|
|
18
|
-
const { degree = 2, jitter = 0.5, _mathRandom = Math.random, } = settings;
|
|
19
|
-
const polynomial = Math.min(maxDelay, minDelay * Math.pow(attempt, degree));
|
|
20
|
-
return (0, _shared_1.withJitter)(jitter, polynomial, _mathRandom);
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
//# sourceMappingURL=polynomial-backoff-policy.js.map
|
package/dist/cjs/async/backof-policies/polynomial-backoff-policy/polynomial-backoff-policy.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"polynomial-backoff-policy.js","sourceRoot":"","sources":["../../../../../src/async/backof-policies/polynomial-backoff-policy/polynomial-backoff-policy.ts"],"names":[],"mappings":";;AAuCA,0DA2BC;AA9DD,iDAA+C;AAE/C,6DAA6D;AAiC7D,SAAgB,uBAAuB,CACnC,WAE8D,EAAE;IAEhE,OAAO,CAAC,OAAO,EAAE,KAAK,EAAE,EAAE;QACtB,IAAI,OAAO,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjC,QAAQ,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;QAC/B,CAAC;QACD,IAAI,EAAE,QAAQ,GAAG,IAAI,EAAE,QAAQ,GAAG,KAAK,EAAE,GAAG,QAAQ,CAAC;QACrD,IAAI,QAAQ,YAAY,kBAAQ,EAAE,CAAC;YAC/B,QAAQ,GAAG,QAAQ,CAAC,cAAc,EAAE,CAAC;QACzC,CAAC;QACD,IAAI,QAAQ,YAAY,kBAAQ,EAAE,CAAC;YAC/B,QAAQ,GAAG,QAAQ,CAAC,cAAc,EAAE,CAAC;QACzC,CAAC;QACD,MAAM,EACF,MAAM,GAAG,CAAC,EACV,MAAM,GAAG,GAAG,EACZ,WAAW,GAAG,IAAI,CAAC,MAAM,GAC5B,GAAG,QAAQ,CAAC;QACb,MAAM,UAAU,GAAG,IAAI,CAAC,GAAG,CACvB,QAAQ,EACR,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,EAAE,MAAM,CAAC,CACvC,CAAC;QACF,OAAO,IAAA,oBAAU,EAAC,MAAM,EAAE,UAAU,EAAE,WAAW,CAAC,CAAC;IACvD,CAAC,CAAC;AACN,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("../../async/delay/delay"), exports);
|
|
18
|
-
//# sourceMappingURL=_module.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../../src/async/delay/_module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.delay = delay;
|
|
4
|
-
const _module_1 = require("../../async/abortable/_module");
|
|
5
|
-
const _module_2 = require("../../async/lazy-promise/_module");
|
|
6
|
-
function delay(time, abortSignal = new AbortController().signal) {
|
|
7
|
-
return new _module_2.LazyPromise(async () => {
|
|
8
|
-
let timeoutId = null;
|
|
9
|
-
const delay = new Promise((resolve) => {
|
|
10
|
-
timeoutId = setTimeout(() => {
|
|
11
|
-
resolve();
|
|
12
|
-
}, time.toMilliseconds());
|
|
13
|
-
});
|
|
14
|
-
try {
|
|
15
|
-
await (0, _module_1.abortable)(() => delay, abortSignal);
|
|
16
|
-
}
|
|
17
|
-
finally {
|
|
18
|
-
if (timeoutId === null) {
|
|
19
|
-
clearTimeout(timeoutId);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
//# sourceMappingURL=delay.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"delay.js","sourceRoot":"","sources":["../../../../src/async/delay/delay.ts"],"names":[],"mappings":";;AA8CA,sBAqBC;AAxDD,uDAAsD;AACtD,0DAA2D;AAkC3D,SAAgB,KAAK,CACjB,IAAc,EACd,cAA2B,IAAI,eAAe,EAAE,CAAC,MAAM;IAEvD,OAAO,IAAI,qBAAW,CAAC,KAAK,IAAI,EAAE;QAE9B,IAAI,SAAS,GAAQ,IAAI,CAAC;QAC1B,MAAM,KAAK,GAAG,IAAI,OAAO,CAAO,CAAC,OAAO,EAAE,EAAE;YACxC,SAAS,GAAG,UAAU,CAAC,GAAG,EAAE;gBACxB,OAAO,EAAE,CAAC;YACd,CAAC,EAAE,IAAI,CAAC,cAAc,EAAE,CAAC,CAAC;QAC9B,CAAC,CAAC,CAAC;QACH,IAAI,CAAC;YACD,MAAM,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,KAAK,EAAE,WAAW,CAAC,CAAC;QAC9C,CAAC;gBAAS,CAAC;YACP,IAAI,SAAS,KAAK,IAAI,EAAE,CAAC;gBAErB,YAAY,CAAC,SAAS,CAAC,CAAC;YAC5B,CAAC;QACL,CAAC;IACL,CAAC,CAAC,CAAC;AACP,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("../../async/delay-iterable/delay-iterable"), exports);
|
|
18
|
-
//# sourceMappingURL=_module.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../../src/async/delay-iterable/_module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wEAAsD"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.delayIterable = delayIterable;
|
|
4
|
-
const _shared_1 = require("../../async/_shared");
|
|
5
|
-
const _module_1 = require("../../async/abortable/_module");
|
|
6
|
-
const delay_1 = require("../../async/delay/delay");
|
|
7
|
-
class DelayIterable {
|
|
8
|
-
iterable;
|
|
9
|
-
time;
|
|
10
|
-
abortSignal;
|
|
11
|
-
constructor(iterable, time, abortSignal) {
|
|
12
|
-
this.iterable = iterable;
|
|
13
|
-
this.time = time;
|
|
14
|
-
this.abortSignal = abortSignal;
|
|
15
|
-
}
|
|
16
|
-
async *[Symbol.asyncIterator]() {
|
|
17
|
-
const iterator = this.iterable[Symbol.asyncIterator]();
|
|
18
|
-
let result = await (0, _module_1.abortable)(() => iterator.next(), this.abortSignal);
|
|
19
|
-
yield result.value;
|
|
20
|
-
while (!result.done) {
|
|
21
|
-
if (this.abortSignal.aborted) {
|
|
22
|
-
throw new _shared_1.AbortAsyncError(`Promise was aborted with reason of "${String(this.abortSignal.aborted)}"`, this.abortSignal.reason);
|
|
23
|
-
}
|
|
24
|
-
await (0, delay_1.delay)(this.time, this.abortSignal);
|
|
25
|
-
result = await (0, _module_1.abortable)(() => iterator.next(), this.abortSignal);
|
|
26
|
-
if (result.done) {
|
|
27
|
-
return result.value;
|
|
28
|
-
}
|
|
29
|
-
yield result.value;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
function delayIterable(iterable, time, abortSignal = new AbortController().signal) {
|
|
34
|
-
return new DelayIterable(iterable, time, abortSignal);
|
|
35
|
-
}
|
|
36
|
-
//# sourceMappingURL=delay-iterable.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"delay-iterable.js","sourceRoot":"","sources":["../../../../src/async/delay-iterable/delay-iterable.ts"],"names":[],"mappings":";;AAgGA,sCAMC;AA/FD,6CAAkD;AAClD,uDAAsD;AACtD,+CAA4C;AAK5C,MAAM,aAAa;IAEM;IACA;IACA;IAHrB,YACqB,QAA+B,EAC/B,IAAc,EACd,WAAwB;QAFxB,aAAQ,GAAR,QAAQ,CAAuB;QAC/B,SAAI,GAAJ,IAAI,CAAU;QACd,gBAAW,GAAX,WAAW,CAAa;IAC1C,CAAC;IAEJ,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC;QACzB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,aAAa,CAAC,EAAE,CAAC;QACvD,IAAI,MAAM,GAAG,MAAM,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,IAAI,EAAE,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC;QACtE,MAAM,MAAM,CAAC,KAAK,CAAC;QAEnB,OAAO,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;YAClB,IAAI,IAAI,CAAC,WAAW,CAAC,OAAO,EAAE,CAAC;gBAC3B,MAAM,IAAI,yBAAe,CACrB,uCAAuC,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,GAAG,EAC1E,IAAI,CAAC,WAAW,CAAC,MAAM,CAC1B,CAAC;YACN,CAAC;YACD,MAAM,IAAA,aAAK,EAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC;YACzC,MAAM,GAAG,MAAM,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,IAAI,EAAE,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC;YAClE,IAAI,MAAM,CAAC,IAAI,EAAE,CAAC;gBAEd,OAAO,MAAM,CAAC,KAAK,CAAC;YACxB,CAAC;YACD,MAAM,MAAM,CAAC,KAAK,CAAC;QACvB,CAAC;IACL,CAAC;CACJ;AAsDD,SAAgB,aAAa,CACzB,QAA+B,EAC/B,IAAc,EACd,cAA2B,IAAI,eAAe,EAAE,CAAC,MAAM;IAEvD,OAAO,IAAI,aAAa,CAAC,QAAQ,EAAE,IAAI,EAAE,WAAW,CAAC,CAAC;AAC1D,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("../../async/lazy-promise/lazy-promise"), exports);
|
|
18
|
-
//# sourceMappingURL=_module.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../../src/async/lazy-promise/_module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oEAAkD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"lazy-promise.js","sourceRoot":"","sources":["../../../../src/async/lazy-promise/lazy-promise.ts"],"names":[],"mappings":";;;AA0CA,4CAEC;AA1BD,MAAa,WAAW;IAGS;IAFrB,OAAO,GAA+B,IAAI,CAAC;IAEnD,YAA6B,OAAkC;QAAlC,YAAO,GAAP,OAAO,CAA2B;IAAG,CAAC;IAEnE,IAAI,CACA,WAEU,EAEV,UAAuE;QAEvE,IAAI,IAAI,CAAC,OAAO,KAAK,IAAI,EAAE,CAAC;YACxB,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,EAAE,CAAC;QAClC,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE,UAAU,CAAC,CAAC;IACtD,CAAC;CACJ;AAlBD,kCAkBC;AAMD,SAAgB,gBAAgB,CAAS,OAA4B;IACjE,OAAO,CAAC,IAAI,CAAC,GAAG,EAAE,GAAE,CAAC,CAAC,CAAC;AAC3B,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("../../async/retry/retry"), exports);
|
|
18
|
-
//# sourceMappingURL=_module.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../../src/async/retry/_module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC"}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.retry = retry;
|
|
4
|
-
const _module_1 = require("../../async/delay/_module");
|
|
5
|
-
const _shared_1 = require("../../async/_shared");
|
|
6
|
-
const _module_2 = require("../../async/backof-policies/_module");
|
|
7
|
-
const _module_3 = require("../../async/lazy-promise/_module");
|
|
8
|
-
const _module_4 = require("../../async/timeout/_module");
|
|
9
|
-
const _module_5 = require("../../utilities/_module");
|
|
10
|
-
function retry(asyncFn, settings = {}) {
|
|
11
|
-
return new _module_3.LazyPromise(async () => {
|
|
12
|
-
const { maxAttempts = 4, backoffPolicy = (0, _module_2.exponentialBackoffPolicy)(), retryPolicy = () => true, retryTimeout = _module_5.TimeSpan.fromMilliseconds(60_000), abortSignal = new AbortController().signal, } = settings;
|
|
13
|
-
let error_;
|
|
14
|
-
for (let attempt = 1; attempt <= maxAttempts; attempt++) {
|
|
15
|
-
if (abortSignal.aborted) {
|
|
16
|
-
throw new _shared_1.AbortAsyncError(`Promise was aborted with reason of "${String(abortSignal.aborted)}"`, abortSignal.reason);
|
|
17
|
-
}
|
|
18
|
-
try {
|
|
19
|
-
return await (0, _module_4.timeout)(asyncFn, retryTimeout, abortSignal);
|
|
20
|
-
}
|
|
21
|
-
catch (error) {
|
|
22
|
-
error_ = error;
|
|
23
|
-
if (error instanceof _shared_1.AbortAsyncError) {
|
|
24
|
-
throw error;
|
|
25
|
-
}
|
|
26
|
-
if (!retryPolicy(error)) {
|
|
27
|
-
throw error;
|
|
28
|
-
}
|
|
29
|
-
const time = backoffPolicy(attempt, error);
|
|
30
|
-
await (0, _module_1.delay)(_module_5.TimeSpan.fromMilliseconds(time), abortSignal);
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
let errorMessage = `Promise was failed after retried ${String(maxAttempts)} times`;
|
|
34
|
-
if (error_) {
|
|
35
|
-
errorMessage = `${errorMessage} and last thrown error was "${String(error_)}"`;
|
|
36
|
-
}
|
|
37
|
-
throw new _shared_1.RetryAsyncError(errorMessage, {
|
|
38
|
-
cause: error_,
|
|
39
|
-
maxAttempts,
|
|
40
|
-
});
|
|
41
|
-
});
|
|
42
|
-
}
|
|
43
|
-
//# sourceMappingURL=retry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"retry.js","sourceRoot":"","sources":["../../../../src/async/retry/retry.ts"],"names":[],"mappings":";;AAoGA,sBA4CC;AA5ID,mDAA8C;AAC9C,6CAQyB;AAEzB,6DAA2E;AAC3E,0DAA2D;AAC3D,qDAAkD;AAClD,iDAA+C;AAkF/C,SAAgB,KAAK,CACjB,OAAkC,EAClC,WAA0B,EAAE;IAE5B,OAAO,IAAI,qBAAW,CAAC,KAAK,IAAI,EAAE;QAC9B,MAAM,EACF,WAAW,GAAG,CAAC,EACf,aAAa,GAAG,IAAA,kCAAwB,GAAE,EAC1C,WAAW,GAAG,GAAG,EAAE,CAAC,IAAI,EACxB,YAAY,GAAG,kBAAQ,CAAC,gBAAgB,CAAC,MAAM,CAAC,EAChD,WAAW,GAAG,IAAI,eAAe,EAAE,CAAC,MAAM,GAC7C,GAAG,QAAQ,CAAC;QACb,IAAI,MAAe,CAAC;QACpB,KAAK,IAAI,OAAO,GAAG,CAAC,EAAE,OAAO,IAAI,WAAW,EAAE,OAAO,EAAE,EAAE,CAAC;YACtD,IAAI,WAAW,CAAC,OAAO,EAAE,CAAC;gBACtB,MAAM,IAAI,yBAAe,CACrB,uCAAuC,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,GAAG,EACrE,WAAW,CAAC,MAAM,CACrB,CAAC;YACN,CAAC;YACD,IAAI,CAAC;gBACD,OAAO,MAAM,IAAA,iBAAO,EAAC,OAAO,EAAE,YAAY,EAAE,WAAW,CAAC,CAAC;YAC7D,CAAC;YAAC,OAAO,KAAc,EAAE,CAAC;gBACtB,MAAM,GAAG,KAAK,CAAC;gBACf,IAAI,KAAK,YAAY,yBAAe,EAAE,CAAC;oBACnC,MAAM,KAAK,CAAC;gBAChB,CAAC;gBACD,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,EAAE,CAAC;oBACtB,MAAM,KAAK,CAAC;gBAChB,CAAC;gBACD,MAAM,IAAI,GAAG,aAAa,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;gBAC3C,MAAM,IAAA,eAAK,EAAC,kBAAQ,CAAC,gBAAgB,CAAC,IAAI,CAAC,EAAE,WAAW,CAAC,CAAC;YAC9D,CAAC;QACL,CAAC;QAED,IAAI,YAAY,GAAG,oCAAoC,MAAM,CAAC,WAAW,CAAC,QAAQ,CAAC;QACnF,IAAI,MAAM,EAAE,CAAC;YACT,YAAY,GAAG,GAAG,YAAY,+BAA+B,MAAM,CAAC,MAAiB,CAAC,GAAG,CAAC;QAC9F,CAAC;QACD,MAAM,IAAI,yBAAe,CAAC,YAAY,EAAE;YACpC,KAAK,EAAE,MAAM;YACb,WAAW;SACd,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AACP,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("../../async/retry-iterable/retry-iterable"), exports);
|
|
18
|
-
//# sourceMappingURL=_module.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../../src/async/retry-iterable/_module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wEAAsD"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.retryIterable = retryIterable;
|
|
4
|
-
const _shared_1 = require("../../async/_shared");
|
|
5
|
-
const retry_1 = require("../../async/retry/retry");
|
|
6
|
-
class RetryAsyncIterable {
|
|
7
|
-
iterable;
|
|
8
|
-
settings;
|
|
9
|
-
constructor(iterable, settings) {
|
|
10
|
-
this.iterable = iterable;
|
|
11
|
-
this.settings = settings;
|
|
12
|
-
}
|
|
13
|
-
async *[Symbol.asyncIterator]() {
|
|
14
|
-
const iterator = this.iterable[Symbol.asyncIterator]();
|
|
15
|
-
let result = await (0, retry_1.retry)(() => iterator.next(), this.settings);
|
|
16
|
-
yield result.value;
|
|
17
|
-
while (!result.done) {
|
|
18
|
-
if (this.settings?.abortSignal?.aborted) {
|
|
19
|
-
throw new _shared_1.AbortAsyncError(`Promise was aborted with reason of "${String(this.settings.abortSignal.aborted)}"`, this.settings.abortSignal.reason);
|
|
20
|
-
}
|
|
21
|
-
result = await (0, retry_1.retry)(() => iterator.next(), this.settings);
|
|
22
|
-
if (result.done) {
|
|
23
|
-
return result.value;
|
|
24
|
-
}
|
|
25
|
-
yield result.value;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
function retryIterable(iterable, settings) {
|
|
30
|
-
return new RetryAsyncIterable(iterable, settings);
|
|
31
|
-
}
|
|
32
|
-
//# sourceMappingURL=retry-iterable.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"retry-iterable.js","sourceRoot":"","sources":["../../../../src/async/retry-iterable/retry-iterable.ts"],"names":[],"mappings":";;AAmIA,sCAKC;AArID,6CASyB;AACzB,+CAA4C;AAM5C,MAAM,kBAAkB;IAEC;IACA;IAFrB,YACqB,QAA+B,EAC/B,QAAwB;QADxB,aAAQ,GAAR,QAAQ,CAAuB;QAC/B,aAAQ,GAAR,QAAQ,CAAgB;IAC1C,CAAC;IAEJ,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC;QACzB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,aAAa,CAAC,EAAE,CAAC;QACvD,IAAI,MAAM,GAAG,MAAM,IAAA,aAAK,EAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,IAAI,EAAE,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC;QAC/D,MAAM,MAAM,CAAC,KAAK,CAAC;QAEnB,OAAO,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;YAClB,IAAI,IAAI,CAAC,QAAQ,EAAE,WAAW,EAAE,OAAO,EAAE,CAAC;gBACtC,MAAM,IAAI,yBAAe,CACrB,uCAAuC,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,OAAO,CAAC,GAAG,EACnF,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,MAAM,CACnC,CAAC;YACN,CAAC;YACD,MAAM,GAAG,MAAM,IAAA,aAAK,EAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,IAAI,EAAE,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC;YAC3D,IAAI,MAAM,CAAC,IAAI,EAAE,CAAC;gBAEd,OAAO,MAAM,CAAC,KAAK,CAAC;YACxB,CAAC;YACD,MAAM,MAAM,CAAC,KAAK,CAAC;QACvB,CAAC;IACL,CAAC;CACJ;AAsFD,SAAgB,aAAa,CACzB,QAA+B,EAC/B,QAAwB;IAExB,OAAO,IAAI,kBAAkB,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;AACtD,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("../../async/timeout/timeout"), exports);
|
|
18
|
-
//# sourceMappingURL=_module.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../../src/async/timeout/_module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC"}
|