@daiso-tech/core 0.14.0 → 0.16.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.
Files changed (701) hide show
  1. package/dist/cjs/_module.js +3 -2
  2. package/dist/cjs/_module.js.map +1 -1
  3. package/dist/cjs/async/_module.js +20 -0
  4. package/dist/cjs/async/_module.js.map +1 -0
  5. package/dist/cjs/{utilities/async/_shared.js → async/async.errors.js} +1 -1
  6. package/dist/cjs/async/async.errors.js.map +1 -0
  7. package/dist/cjs/{utilities → async}/backof-policies/_module.js +4 -4
  8. package/dist/cjs/async/backof-policies/_module.js.map +1 -0
  9. package/dist/cjs/async/backof-policies/_shared.js.map +1 -0
  10. package/dist/cjs/{serializer/implementations/sql-serializer → async/backof-policies/constant-backoff-policy}/_module.js +1 -1
  11. package/dist/cjs/async/backof-policies/constant-backoff-policy/_module.js.map +1 -0
  12. package/dist/cjs/{utilities → async}/backof-policies/constant-backoff-policy/constant-backoff-policy.js +1 -1
  13. package/dist/cjs/async/backof-policies/constant-backoff-policy/constant-backoff-policy.js.map +1 -0
  14. package/dist/cjs/{serializer/implementations/_shared/test-utilities → async/backof-policies/exponential-backoff-policy}/_module.js +1 -1
  15. package/dist/cjs/async/backof-policies/exponential-backoff-policy/_module.js.map +1 -0
  16. package/dist/cjs/{utilities → async}/backof-policies/exponential-backoff-policy/exponential-backoff-policy.js +1 -1
  17. package/dist/cjs/async/backof-policies/exponential-backoff-policy/exponential-backoff-policy.js.map +1 -0
  18. package/dist/cjs/{serializer/implementations/mongodb-serializer → async/backof-policies/linear-backoff-policy}/_module.js +1 -1
  19. package/dist/cjs/async/backof-policies/linear-backoff-policy/_module.js.map +1 -0
  20. package/dist/cjs/{utilities → async}/backof-policies/linear-backoff-policy/linear-backoff-policy.js +1 -1
  21. package/dist/cjs/async/backof-policies/linear-backoff-policy/linear-backoff-policy.js.map +1 -0
  22. package/dist/cjs/async/backof-policies/polynomial-backoff-policy/_module.js +18 -0
  23. package/dist/cjs/async/backof-policies/polynomial-backoff-policy/_module.js.map +1 -0
  24. package/dist/cjs/{utilities → async}/backof-policies/polynomial-backoff-policy/polynomial-backoff-policy.js +1 -1
  25. package/dist/cjs/async/backof-policies/polynomial-backoff-policy/polynomial-backoff-policy.js.map +1 -0
  26. package/dist/cjs/{event-bus/implementations/_shared/test-utilities → async/utilities}/_module.js +2 -1
  27. package/dist/cjs/async/utilities/_module.js.map +1 -0
  28. package/dist/cjs/async/utilities/abort/_module.js +19 -0
  29. package/dist/cjs/async/utilities/abort/_module.js.map +1 -0
  30. package/dist/cjs/async/utilities/abort/abort-and-fail.js +45 -0
  31. package/dist/cjs/async/utilities/abort/abort-and-fail.js.map +1 -0
  32. package/dist/cjs/async/utilities/abort/abort.js +18 -0
  33. package/dist/cjs/async/utilities/abort/abort.js.map +1 -0
  34. package/dist/cjs/{utilities/async → async/utilities}/delay/_module.js +1 -1
  35. package/dist/cjs/async/utilities/delay/_module.js.map +1 -0
  36. package/dist/cjs/async/utilities/delay/delay.js +20 -0
  37. package/dist/cjs/async/utilities/delay/delay.js.map +1 -0
  38. package/dist/cjs/{utilities/async → async/utilities}/lazy-promise/_module.js +1 -1
  39. package/dist/cjs/async/utilities/lazy-promise/_module.js.map +1 -0
  40. package/dist/cjs/async/utilities/lazy-promise/lazy-promise.js +110 -0
  41. package/dist/cjs/async/utilities/lazy-promise/lazy-promise.js.map +1 -0
  42. package/dist/cjs/async/utilities/retry/_module.js +19 -0
  43. package/dist/cjs/async/utilities/retry/_module.js.map +1 -0
  44. package/dist/cjs/async/utilities/retry/retry-or-fail.js +36 -0
  45. package/dist/cjs/async/utilities/retry/retry-or-fail.js.map +1 -0
  46. package/dist/cjs/async/utilities/retry/retry.js +18 -0
  47. package/dist/cjs/async/utilities/retry/retry.js.map +1 -0
  48. package/dist/cjs/{utilities/async → async/utilities}/timeout/_module.js +2 -1
  49. package/dist/cjs/async/utilities/timeout/_module.js.map +1 -0
  50. package/dist/cjs/async/utilities/timeout/timeout-and-fail.js +25 -0
  51. package/dist/cjs/async/utilities/timeout/timeout-and-fail.js.map +1 -0
  52. package/dist/cjs/async/utilities/timeout/timeout.js +18 -0
  53. package/dist/cjs/async/utilities/timeout/timeout.js.map +1 -0
  54. package/dist/cjs/cache/contracts/cache.events.js +0 -11
  55. package/dist/cjs/cache/contracts/cache.events.js.map +1 -1
  56. package/dist/cjs/cache/implementations/_shared/cache-adapter.test-suite.js +257 -177
  57. package/dist/cjs/cache/implementations/_shared/cache-adapter.test-suite.js.map +1 -1
  58. package/dist/cjs/cache/implementations/_shared/cache.test-suite.js +59 -37
  59. package/dist/cjs/cache/implementations/_shared/cache.test-suite.js.map +1 -1
  60. package/dist/cjs/cache/implementations/adapters/kysely-sqlite-cache-adapter/kysely-sqlite-cache-adapter.js +59 -18
  61. package/dist/cjs/cache/implementations/adapters/kysely-sqlite-cache-adapter/kysely-sqlite-cache-adapter.js.map +1 -1
  62. package/dist/cjs/cache/implementations/adapters/libsql-cache-adapter/libsql-cache-adapter.js +16 -6
  63. package/dist/cjs/cache/implementations/adapters/libsql-cache-adapter/libsql-cache-adapter.js.map +1 -1
  64. package/dist/cjs/cache/implementations/adapters/memory-cache-adapter/memory-cache-adapter.js +58 -39
  65. package/dist/cjs/cache/implementations/adapters/memory-cache-adapter/memory-cache-adapter.js.map +1 -1
  66. package/dist/cjs/cache/implementations/adapters/mongodb-cache-adapter/mongodb-cache-adapter.js +63 -26
  67. package/dist/cjs/cache/implementations/adapters/mongodb-cache-adapter/mongodb-cache-adapter.js.map +1 -1
  68. package/dist/cjs/cache/implementations/adapters/no-op-cache-adapter/no-op-cache-adapter.js +10 -1
  69. package/dist/cjs/cache/implementations/adapters/no-op-cache-adapter/no-op-cache-adapter.js.map +1 -1
  70. package/dist/cjs/cache/implementations/adapters/redis-cache-adapter/redis-cache-adapter.js +44 -19
  71. package/dist/cjs/cache/implementations/adapters/redis-cache-adapter/redis-cache-adapter.js.map +1 -1
  72. package/dist/cjs/cache/implementations/adapters/sqlite-cache-adapter/sqlite-cache-adapter.js +17 -7
  73. package/dist/cjs/cache/implementations/adapters/sqlite-cache-adapter/sqlite-cache-adapter.js.map +1 -1
  74. package/dist/cjs/cache/implementations/derivables/_module.js +0 -1
  75. package/dist/cjs/cache/implementations/derivables/_module.js.map +1 -1
  76. package/dist/cjs/cache/implementations/derivables/cache-factory.js +4 -7
  77. package/dist/cjs/cache/implementations/derivables/cache-factory.js.map +1 -1
  78. package/dist/cjs/cache/implementations/derivables/cache.js +303 -61
  79. package/dist/cjs/cache/implementations/derivables/cache.js.map +1 -1
  80. package/dist/cjs/collection/implementations/async-iterable-collection/_shared/_module.js +4 -1
  81. package/dist/cjs/collection/implementations/async-iterable-collection/_shared/_module.js.map +1 -1
  82. package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-delay-iterable.js +27 -0
  83. package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-delay-iterable.js.map +1 -0
  84. package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-merge-iterable.js +14 -7
  85. package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-merge-iterable.js.map +1 -1
  86. package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-retry-iterable.js +33 -0
  87. package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-retry-iterable.js.map +1 -0
  88. package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-take-until-abort-iterable.js +36 -0
  89. package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-take-until-abort-iterable.js.map +1 -0
  90. package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-take-until-timeout-iterable.js +48 -0
  91. package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-take-until-timeout-iterable.js.map +1 -0
  92. package/dist/cjs/collection/implementations/async-iterable-collection/async-iterable-collection.js +63 -42
  93. package/dist/cjs/collection/implementations/async-iterable-collection/async-iterable-collection.js.map +1 -1
  94. package/dist/cjs/collection/implementations/iterable-collection/_shared/merge-iterable.js +6 -7
  95. package/dist/cjs/collection/implementations/iterable-collection/_shared/merge-iterable.js.map +1 -1
  96. package/dist/cjs/collection/implementations/iterable-collection/iterable-collection.js +16 -7
  97. package/dist/cjs/collection/implementations/iterable-collection/iterable-collection.js.map +1 -1
  98. package/dist/cjs/collection/implementations/list-collection/list-collection.js +18 -5
  99. package/dist/cjs/collection/implementations/list-collection/list-collection.js.map +1 -1
  100. package/dist/cjs/event-bus/contracts/event-bus.errors.js +3 -3
  101. package/dist/cjs/event-bus/contracts/event-bus.errors.js.map +1 -1
  102. package/dist/cjs/event-bus/implementations/_module.js +1 -1
  103. package/dist/cjs/event-bus/implementations/_module.js.map +1 -1
  104. package/dist/cjs/event-bus/implementations/_shared/_module.js +19 -0
  105. package/dist/cjs/event-bus/implementations/_shared/_module.js.map +1 -0
  106. package/dist/cjs/event-bus/implementations/_shared/event-bus-adapter.test-suite.js +96 -0
  107. package/dist/cjs/event-bus/implementations/_shared/event-bus-adapter.test-suite.js.map +1 -0
  108. package/dist/cjs/event-bus/implementations/_shared/event-bus.test-suite.js +335 -0
  109. package/dist/cjs/event-bus/implementations/_shared/event-bus.test-suite.js.map +1 -0
  110. package/dist/cjs/event-bus/implementations/adapters/_module.js +1 -1
  111. package/dist/cjs/event-bus/implementations/adapters/_module.js.map +1 -1
  112. package/dist/cjs/event-bus/implementations/adapters/memory-event-bus-adapter/memory-event-bus-adapter.js +19 -9
  113. package/dist/cjs/event-bus/implementations/adapters/memory-event-bus-adapter/memory-event-bus-adapter.js.map +1 -1
  114. package/dist/cjs/event-bus/implementations/adapters/no-op-event-bus-adapter/no-op-event-bus-adapter.js +7 -1
  115. package/dist/cjs/event-bus/implementations/adapters/no-op-event-bus-adapter/no-op-event-bus-adapter.js.map +1 -1
  116. package/dist/cjs/event-bus/implementations/adapters/redis-pub-sub-event-bus-adapter/_module.js.map +1 -0
  117. package/dist/cjs/event-bus/implementations/adapters/redis-pub-sub-event-bus-adapter/redis-pub-sub-event-bus-adapter.js +52 -0
  118. package/dist/cjs/event-bus/implementations/adapters/redis-pub-sub-event-bus-adapter/redis-pub-sub-event-bus-adapter.js.map +1 -0
  119. package/dist/cjs/event-bus/implementations/derivables/event-bus-factory.js +6 -7
  120. package/dist/cjs/event-bus/implementations/derivables/event-bus-factory.js.map +1 -1
  121. package/dist/cjs/event-bus/implementations/derivables/event-bus.js +96 -33
  122. package/dist/cjs/event-bus/implementations/derivables/event-bus.js.map +1 -1
  123. package/dist/cjs/{utilities/async/retry → serde/contracts}/_module.js +2 -1
  124. package/dist/cjs/serde/contracts/_module.js.map +1 -0
  125. package/dist/cjs/{serializer/contracts/serializer.contract.js → serde/contracts/serde.contract.js} +1 -1
  126. package/dist/cjs/serde/contracts/serde.contract.js.map +1 -0
  127. package/dist/cjs/{serializer/contracts/serializer.errors.js → serde/contracts/serde.errors.js} +7 -7
  128. package/dist/cjs/serde/contracts/serde.errors.js.map +1 -0
  129. package/dist/cjs/{_shared/redis → serde/implementations}/_module.js +5 -3
  130. package/dist/cjs/serde/implementations/_module.js.map +1 -0
  131. package/dist/cjs/{serializer/implementations/redis-serializer → serde/implementations/_shared/test-utilities}/_module.js +1 -1
  132. package/dist/cjs/serde/implementations/_shared/test-utilities/_module.js.map +1 -0
  133. package/dist/{esm/serializer/implementations/_shared/test-utilities/serializer.test-suite.js → cjs/serde/implementations/_shared/test-utilities/serde.test-suite.js} +65 -62
  134. package/dist/cjs/serde/implementations/_shared/test-utilities/serde.test-suite.js.map +1 -0
  135. package/dist/cjs/{_shared/kysely → serde/implementations/mongodb-serde}/_module.js +1 -1
  136. package/dist/cjs/serde/implementations/mongodb-serde/_module.js.map +1 -0
  137. package/dist/cjs/serde/implementations/mongodb-serde/mongodb-serde.js +36 -0
  138. package/dist/cjs/serde/implementations/mongodb-serde/mongodb-serde.js.map +1 -0
  139. package/dist/cjs/{utilities/async/delay-iterable → serde/implementations/redis-serde}/_module.js +1 -1
  140. package/dist/cjs/serde/implementations/redis-serde/_module.js.map +1 -0
  141. package/dist/cjs/serde/implementations/redis-serde/redis-serde.js +37 -0
  142. package/dist/cjs/serde/implementations/redis-serde/redis-serde.js.map +1 -0
  143. package/dist/cjs/{utilities/async/abortable → serde/implementations/sql-serde}/_module.js +1 -1
  144. package/dist/cjs/serde/implementations/sql-serde/_module.js.map +1 -0
  145. package/dist/cjs/serde/implementations/sql-serde/sql-serde.js +37 -0
  146. package/dist/cjs/serde/implementations/sql-serde/sql-serde.js.map +1 -0
  147. package/dist/cjs/{utilities/async/abortable-iterable → serde/implementations/super-json-serde}/_module.js +1 -1
  148. package/dist/cjs/serde/implementations/super-json-serde/_module.js.map +1 -0
  149. package/dist/cjs/{serializer/implementations/super-json-serializer/super-json-serializer.js → serde/implementations/super-json-serde/super-json-serde.js} +74 -100
  150. package/dist/cjs/serde/implementations/super-json-serde/super-json-serde.js.map +1 -0
  151. package/dist/cjs/utilities/_module.js +5 -4
  152. package/dist/cjs/utilities/_module.js.map +1 -1
  153. package/dist/cjs/{serializer → utilities}/contracts/_module.js +2 -2
  154. package/dist/cjs/utilities/contracts/_module.js.map +1 -0
  155. package/dist/cjs/utilities/contracts/deinitizable.contract.js +3 -0
  156. package/dist/cjs/utilities/contracts/deinitizable.contract.js.map +1 -0
  157. package/dist/cjs/utilities/contracts/initizable.contract.js +3 -0
  158. package/dist/cjs/utilities/contracts/initizable.contract.js.map +1 -0
  159. package/dist/cjs/utilities/{global-errors.js → errors.js} +1 -1
  160. package/dist/cjs/utilities/errors.js.map +1 -0
  161. package/dist/cjs/{_shared/utilities.js → utilities/functions.js} +6 -6
  162. package/dist/cjs/utilities/functions.js.map +1 -0
  163. package/dist/cjs/utilities/kysely/_module.js +18 -0
  164. package/dist/cjs/utilities/kysely/_module.js.map +1 -0
  165. package/dist/cjs/utilities/kysely/kysely-table-name-transformer-plugin.js.map +1 -0
  166. package/dist/cjs/utilities/time-span/time-span.js +8 -0
  167. package/dist/cjs/utilities/time-span/time-span.js.map +1 -1
  168. package/dist/cjs/{_shared → utilities}/types.js.map +1 -1
  169. package/dist/esm/_module.js +3 -2
  170. package/dist/esm/_module.js.map +1 -1
  171. package/dist/esm/async/_module.js +4 -0
  172. package/dist/esm/async/_module.js.map +1 -0
  173. package/dist/esm/{utilities/async/_shared.js → async/async.errors.js} +1 -1
  174. package/dist/esm/async/async.errors.js.map +1 -0
  175. package/dist/esm/async/backof-policies/_module.js +5 -0
  176. package/dist/esm/async/backof-policies/_module.js.map +1 -0
  177. package/dist/esm/async/backof-policies/_shared.js.map +1 -0
  178. package/dist/esm/async/backof-policies/constant-backoff-policy/_module.js +2 -0
  179. package/dist/esm/async/backof-policies/constant-backoff-policy/_module.js.map +1 -0
  180. package/dist/esm/{utilities → async}/backof-policies/constant-backoff-policy/constant-backoff-policy.js +1 -1
  181. package/dist/esm/async/backof-policies/constant-backoff-policy/constant-backoff-policy.js.map +1 -0
  182. package/dist/esm/async/backof-policies/exponential-backoff-policy/_module.js +2 -0
  183. package/dist/esm/async/backof-policies/exponential-backoff-policy/_module.js.map +1 -0
  184. package/dist/esm/{utilities → async}/backof-policies/exponential-backoff-policy/exponential-backoff-policy.js +1 -1
  185. package/dist/esm/async/backof-policies/exponential-backoff-policy/exponential-backoff-policy.js.map +1 -0
  186. package/dist/esm/async/backof-policies/linear-backoff-policy/_module.js +2 -0
  187. package/dist/esm/async/backof-policies/linear-backoff-policy/_module.js.map +1 -0
  188. package/dist/esm/{utilities → async}/backof-policies/linear-backoff-policy/linear-backoff-policy.js +1 -1
  189. package/dist/esm/async/backof-policies/linear-backoff-policy/linear-backoff-policy.js.map +1 -0
  190. package/dist/esm/async/backof-policies/polynomial-backoff-policy/_module.js +2 -0
  191. package/dist/esm/async/backof-policies/polynomial-backoff-policy/_module.js.map +1 -0
  192. package/dist/esm/{utilities → async}/backof-policies/polynomial-backoff-policy/polynomial-backoff-policy.js +1 -1
  193. package/dist/esm/async/backof-policies/polynomial-backoff-policy/polynomial-backoff-policy.js.map +1 -0
  194. package/dist/esm/async/utilities/_module.js +3 -0
  195. package/dist/esm/async/utilities/_module.js.map +1 -0
  196. package/dist/esm/async/utilities/abort/_module.js +3 -0
  197. package/dist/esm/async/utilities/abort/_module.js.map +1 -0
  198. package/dist/esm/{utilities/async/abortable/abortable.js → async/utilities/abort/abort-and-fail.js} +13 -16
  199. package/dist/esm/async/utilities/abort/abort-and-fail.js.map +1 -0
  200. package/dist/esm/async/utilities/abort/abort.js +15 -0
  201. package/dist/esm/async/utilities/abort/abort.js.map +1 -0
  202. package/dist/esm/async/utilities/delay/_module.js +2 -0
  203. package/dist/esm/async/utilities/delay/_module.js.map +1 -0
  204. package/dist/esm/async/utilities/delay/delay.js +17 -0
  205. package/dist/esm/async/utilities/delay/delay.js.map +1 -0
  206. package/dist/esm/async/utilities/lazy-promise/_module.js +2 -0
  207. package/dist/esm/async/utilities/lazy-promise/_module.js.map +1 -0
  208. package/dist/esm/async/utilities/lazy-promise/lazy-promise.js +106 -0
  209. package/dist/esm/async/utilities/lazy-promise/lazy-promise.js.map +1 -0
  210. package/dist/esm/async/utilities/retry/_module.js +3 -0
  211. package/dist/esm/async/utilities/retry/_module.js.map +1 -0
  212. package/dist/esm/async/utilities/retry/retry-or-fail.js +33 -0
  213. package/dist/esm/async/utilities/retry/retry-or-fail.js.map +1 -0
  214. package/dist/esm/async/utilities/retry/retry.js +15 -0
  215. package/dist/esm/async/utilities/retry/retry.js.map +1 -0
  216. package/dist/esm/async/utilities/timeout/_module.js +3 -0
  217. package/dist/esm/async/utilities/timeout/_module.js.map +1 -0
  218. package/dist/esm/async/utilities/timeout/timeout-and-fail.js +22 -0
  219. package/dist/esm/async/utilities/timeout/timeout-and-fail.js.map +1 -0
  220. package/dist/esm/async/utilities/timeout/timeout.js +15 -0
  221. package/dist/esm/async/utilities/timeout/timeout.js.map +1 -0
  222. package/dist/esm/cache/contracts/cache.events.js +0 -10
  223. package/dist/esm/cache/contracts/cache.events.js.map +1 -1
  224. package/dist/esm/cache/implementations/_shared/cache-adapter.test-suite.js +258 -178
  225. package/dist/esm/cache/implementations/_shared/cache-adapter.test-suite.js.map +1 -1
  226. package/dist/esm/cache/implementations/_shared/cache.test-suite.js +25 -3
  227. package/dist/esm/cache/implementations/_shared/cache.test-suite.js.map +1 -1
  228. package/dist/esm/cache/implementations/adapters/kysely-sqlite-cache-adapter/kysely-sqlite-cache-adapter.js +60 -19
  229. package/dist/esm/cache/implementations/adapters/kysely-sqlite-cache-adapter/kysely-sqlite-cache-adapter.js.map +1 -1
  230. package/dist/esm/cache/implementations/adapters/libsql-cache-adapter/libsql-cache-adapter.js +16 -6
  231. package/dist/esm/cache/implementations/adapters/libsql-cache-adapter/libsql-cache-adapter.js.map +1 -1
  232. package/dist/esm/cache/implementations/adapters/memory-cache-adapter/memory-cache-adapter.js +58 -39
  233. package/dist/esm/cache/implementations/adapters/memory-cache-adapter/memory-cache-adapter.js.map +1 -1
  234. package/dist/esm/cache/implementations/adapters/mongodb-cache-adapter/mongodb-cache-adapter.js +63 -23
  235. package/dist/esm/cache/implementations/adapters/mongodb-cache-adapter/mongodb-cache-adapter.js.map +1 -1
  236. package/dist/esm/cache/implementations/adapters/no-op-cache-adapter/no-op-cache-adapter.js +10 -1
  237. package/dist/esm/cache/implementations/adapters/no-op-cache-adapter/no-op-cache-adapter.js.map +1 -1
  238. package/dist/esm/cache/implementations/adapters/redis-cache-adapter/redis-cache-adapter.js +44 -19
  239. package/dist/esm/cache/implementations/adapters/redis-cache-adapter/redis-cache-adapter.js.map +1 -1
  240. package/dist/esm/cache/implementations/adapters/sqlite-cache-adapter/sqlite-cache-adapter.js +16 -6
  241. package/dist/esm/cache/implementations/adapters/sqlite-cache-adapter/sqlite-cache-adapter.js.map +1 -1
  242. package/dist/esm/cache/implementations/derivables/_module.js +0 -1
  243. package/dist/esm/cache/implementations/derivables/_module.js.map +1 -1
  244. package/dist/esm/cache/implementations/derivables/cache-factory.js +2 -5
  245. package/dist/esm/cache/implementations/derivables/cache-factory.js.map +1 -1
  246. package/dist/esm/cache/implementations/derivables/cache.js +304 -62
  247. package/dist/esm/cache/implementations/derivables/cache.js.map +1 -1
  248. package/dist/esm/collection/implementations/async-iterable-collection/_shared/_module.js +4 -1
  249. package/dist/esm/collection/implementations/async-iterable-collection/_shared/_module.js.map +1 -1
  250. package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-delay-iterable.js +23 -0
  251. package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-delay-iterable.js.map +1 -0
  252. package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-merge-iterable.js +14 -7
  253. package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-merge-iterable.js.map +1 -1
  254. package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-retry-iterable.js +29 -0
  255. package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-retry-iterable.js.map +1 -0
  256. package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-take-until-abort-iterable.js +32 -0
  257. package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-take-until-abort-iterable.js.map +1 -0
  258. package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-take-until-timeout-iterable.js +44 -0
  259. package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-take-until-timeout-iterable.js.map +1 -0
  260. package/dist/esm/collection/implementations/async-iterable-collection/async-iterable-collection.js +61 -40
  261. package/dist/esm/collection/implementations/async-iterable-collection/async-iterable-collection.js.map +1 -1
  262. package/dist/esm/collection/implementations/iterable-collection/_shared/merge-iterable.js +6 -7
  263. package/dist/esm/collection/implementations/iterable-collection/_shared/merge-iterable.js.map +1 -1
  264. package/dist/esm/collection/implementations/iterable-collection/iterable-collection.js +12 -3
  265. package/dist/esm/collection/implementations/iterable-collection/iterable-collection.js.map +1 -1
  266. package/dist/esm/collection/implementations/list-collection/list-collection.js +14 -1
  267. package/dist/esm/collection/implementations/list-collection/list-collection.js.map +1 -1
  268. package/dist/esm/event-bus/contracts/event-bus.errors.js +3 -3
  269. package/dist/esm/event-bus/contracts/event-bus.errors.js.map +1 -1
  270. package/dist/esm/event-bus/implementations/_module.js +1 -1
  271. package/dist/esm/event-bus/implementations/_module.js.map +1 -1
  272. package/dist/esm/event-bus/implementations/_shared/_module.js +3 -0
  273. package/dist/esm/event-bus/implementations/_shared/_module.js.map +1 -0
  274. package/dist/esm/event-bus/implementations/_shared/event-bus-adapter.test-suite.js +93 -0
  275. package/dist/esm/event-bus/implementations/_shared/event-bus-adapter.test-suite.js.map +1 -0
  276. package/dist/esm/event-bus/implementations/_shared/event-bus.test-suite.js +332 -0
  277. package/dist/esm/event-bus/implementations/_shared/event-bus.test-suite.js.map +1 -0
  278. package/dist/esm/event-bus/implementations/adapters/_module.js +1 -1
  279. package/dist/esm/event-bus/implementations/adapters/_module.js.map +1 -1
  280. package/dist/esm/event-bus/implementations/adapters/memory-event-bus-adapter/memory-event-bus-adapter.js +19 -9
  281. package/dist/esm/event-bus/implementations/adapters/memory-event-bus-adapter/memory-event-bus-adapter.js.map +1 -1
  282. package/dist/esm/event-bus/implementations/adapters/no-op-event-bus-adapter/no-op-event-bus-adapter.js +7 -1
  283. package/dist/esm/event-bus/implementations/adapters/no-op-event-bus-adapter/no-op-event-bus-adapter.js.map +1 -1
  284. package/dist/esm/event-bus/implementations/adapters/redis-pub-sub-event-bus-adapter/_module.js.map +1 -0
  285. package/dist/esm/event-bus/implementations/adapters/redis-pub-sub-event-bus-adapter/redis-pub-sub-event-bus-adapter.js +48 -0
  286. package/dist/esm/event-bus/implementations/adapters/redis-pub-sub-event-bus-adapter/redis-pub-sub-event-bus-adapter.js.map +1 -0
  287. package/dist/esm/event-bus/implementations/derivables/event-bus-factory.js +4 -5
  288. package/dist/esm/event-bus/implementations/derivables/event-bus-factory.js.map +1 -1
  289. package/dist/esm/event-bus/implementations/derivables/event-bus.js +97 -34
  290. package/dist/esm/event-bus/implementations/derivables/event-bus.js.map +1 -1
  291. package/dist/esm/serde/contracts/_module.js +3 -0
  292. package/dist/esm/serde/contracts/_module.js.map +1 -0
  293. package/dist/esm/serde/contracts/serde.contract.js +1 -0
  294. package/dist/esm/serde/contracts/serde.contract.js.map +1 -0
  295. package/dist/esm/{serializer/contracts/serializer.errors.js → serde/contracts/serde.errors.js} +5 -5
  296. package/dist/esm/serde/contracts/serde.errors.js.map +1 -0
  297. package/dist/esm/serde/implementations/_module.js +6 -0
  298. package/dist/esm/serde/implementations/_module.js.map +1 -0
  299. package/dist/esm/serde/implementations/_shared/test-utilities/_module.js +2 -0
  300. package/dist/esm/serde/implementations/_shared/test-utilities/_module.js.map +1 -0
  301. package/dist/{cjs/serializer/implementations/_shared/test-utilities/serializer.test-suite.js → esm/serde/implementations/_shared/test-utilities/serde.test-suite.js} +62 -65
  302. package/dist/esm/serde/implementations/_shared/test-utilities/serde.test-suite.js.map +1 -0
  303. package/dist/esm/serde/implementations/mongodb-serde/_module.js +2 -0
  304. package/dist/esm/serde/implementations/mongodb-serde/_module.js.map +1 -0
  305. package/dist/esm/{serializer/implementations/mongodb-serializer/mongodb-serializer.js → serde/implementations/mongodb-serde/mongodb-serde.js} +10 -10
  306. package/dist/esm/serde/implementations/mongodb-serde/mongodb-serde.js.map +1 -0
  307. package/dist/esm/serde/implementations/redis-serde/_module.js +2 -0
  308. package/dist/esm/serde/implementations/redis-serde/_module.js.map +1 -0
  309. package/dist/esm/{serializer/implementations/sql-serializer/sql-serializer.js → serde/implementations/redis-serde/redis-serde.js} +10 -10
  310. package/dist/esm/serde/implementations/redis-serde/redis-serde.js.map +1 -0
  311. package/dist/esm/serde/implementations/sql-serde/_module.js +2 -0
  312. package/dist/esm/serde/implementations/sql-serde/_module.js.map +1 -0
  313. package/dist/esm/{serializer/implementations/redis-serializer/redis-serializer.js → serde/implementations/sql-serde/sql-serde.js} +10 -10
  314. package/dist/esm/serde/implementations/sql-serde/sql-serde.js.map +1 -0
  315. package/dist/esm/serde/implementations/super-json-serde/_module.js +2 -0
  316. package/dist/esm/serde/implementations/super-json-serde/_module.js.map +1 -0
  317. package/dist/esm/{serializer/implementations/super-json-serializer/super-json-serializer.js → serde/implementations/super-json-serde/super-json-serde.js} +52 -55
  318. package/dist/esm/serde/implementations/super-json-serde/super-json-serde.js.map +1 -0
  319. package/dist/esm/utilities/_module.js +5 -4
  320. package/dist/esm/utilities/_module.js.map +1 -1
  321. package/dist/esm/utilities/contracts/_module.js +3 -0
  322. package/dist/esm/utilities/contracts/_module.js.map +1 -0
  323. package/dist/esm/utilities/contracts/deinitizable.contract.js +1 -0
  324. package/dist/esm/utilities/contracts/deinitizable.contract.js.map +1 -0
  325. package/dist/esm/utilities/contracts/initizable.contract.js +1 -0
  326. package/dist/esm/utilities/contracts/initizable.contract.js.map +1 -0
  327. package/dist/esm/utilities/{global-errors.js → errors.js} +1 -1
  328. package/dist/esm/utilities/errors.js.map +1 -0
  329. package/dist/esm/{_shared/utilities.js → utilities/functions.js} +5 -5
  330. package/dist/esm/utilities/functions.js.map +1 -0
  331. package/dist/esm/utilities/kysely/_module.js +2 -0
  332. package/dist/esm/utilities/kysely/_module.js.map +1 -0
  333. package/dist/esm/utilities/kysely/kysely-table-name-transformer-plugin.js.map +1 -0
  334. package/dist/esm/utilities/time-span/time-span.js +8 -0
  335. package/dist/esm/utilities/time-span/time-span.js.map +1 -1
  336. package/dist/esm/{_shared → utilities}/types.js.map +1 -1
  337. package/dist/types/_module.d.ts +3 -2
  338. package/dist/types/async/_module.d.ts +3 -0
  339. package/dist/types/{utilities/async/_shared.d.ts → async/async.errors.d.ts} +6 -6
  340. package/dist/types/async/backof-policies/_module.d.ts +5 -0
  341. package/dist/types/{utilities → async}/backof-policies/_shared.d.ts +1 -1
  342. package/dist/types/async/backof-policies/constant-backoff-policy/_module.d.ts +1 -0
  343. package/dist/types/{utilities → async}/backof-policies/constant-backoff-policy/constant-backoff-policy.d.ts +2 -2
  344. package/dist/types/async/backof-policies/exponential-backoff-policy/_module.d.ts +1 -0
  345. package/dist/types/{utilities → async}/backof-policies/exponential-backoff-policy/exponential-backoff-policy.d.ts +2 -2
  346. package/dist/types/async/backof-policies/linear-backoff-policy/_module.d.ts +1 -0
  347. package/dist/types/{utilities → async}/backof-policies/linear-backoff-policy/linear-backoff-policy.d.ts +2 -2
  348. package/dist/types/async/backof-policies/polynomial-backoff-policy/_module.d.ts +1 -0
  349. package/dist/types/{utilities → async}/backof-policies/polynomial-backoff-policy/polynomial-backoff-policy.d.ts +2 -2
  350. package/dist/types/async/utilities/_module.d.ts +2 -0
  351. package/dist/types/async/utilities/abort/_module.d.ts +2 -0
  352. package/dist/types/async/utilities/abort/abort-and-fail.d.ts +4 -0
  353. package/dist/types/async/utilities/abort/abort.d.ts +9 -0
  354. package/dist/types/async/utilities/delay/_module.d.ts +1 -0
  355. package/dist/types/async/utilities/delay/delay.d.ts +19 -0
  356. package/dist/types/async/utilities/lazy-promise/_module.d.ts +1 -0
  357. package/dist/types/async/utilities/lazy-promise/lazy-promise.d.ts +222 -0
  358. package/dist/types/async/utilities/retry/_module.d.ts +2 -0
  359. package/dist/types/async/utilities/retry/retry-or-fail.d.ts +23 -0
  360. package/dist/types/async/utilities/retry/retry.d.ts +10 -0
  361. package/dist/types/async/utilities/timeout/_module.d.ts +2 -0
  362. package/dist/types/async/utilities/timeout/timeout-and-fail.d.ts +5 -0
  363. package/dist/types/async/utilities/timeout/timeout.d.ts +10 -0
  364. package/dist/types/cache/contracts/cache-adapter.contract.d.ts +20 -6
  365. package/dist/types/cache/contracts/cache-factory.contract.d.ts +4 -4
  366. package/dist/types/cache/contracts/cache.contract.d.ts +25 -43
  367. package/dist/types/cache/contracts/cache.events.d.ts +38 -91
  368. package/dist/types/cache/implementations/_shared/cache-adapter.test-suite.d.ts +34 -25
  369. package/dist/types/cache/implementations/_shared/cache.test-suite.d.ts +54 -43
  370. package/dist/types/cache/implementations/adapters/kysely-sqlite-cache-adapter/kysely-sqlite-cache-adapter.d.ts +11 -5
  371. package/dist/types/cache/implementations/adapters/libsql-cache-adapter/libsql-cache-adapter.d.ts +22 -9
  372. package/dist/types/cache/implementations/adapters/memory-cache-adapter/memory-cache-adapter.d.ts +12 -6
  373. package/dist/types/cache/implementations/adapters/mongodb-cache-adapter/mongodb-cache-adapter.d.ts +24 -11
  374. package/dist/types/cache/implementations/adapters/no-op-cache-adapter/no-op-cache-adapter.d.ts +5 -2
  375. package/dist/types/cache/implementations/adapters/redis-cache-adapter/redis-cache-adapter.d.ts +20 -13
  376. package/dist/types/cache/implementations/adapters/sqlite-cache-adapter/sqlite-cache-adapter.d.ts +22 -9
  377. package/dist/types/cache/implementations/derivables/_module.d.ts +0 -1
  378. package/dist/types/cache/implementations/derivables/cache-factory.d.ts +5 -11
  379. package/dist/types/cache/implementations/derivables/cache.d.ts +37 -42
  380. package/dist/types/collection/contracts/async-collection.contract.d.ts +10 -6
  381. package/dist/types/collection/contracts/collection.contract.d.ts +1 -1
  382. package/dist/types/collection/implementations/async-iterable-collection/_shared/_module.d.ts +4 -1
  383. package/dist/types/collection/implementations/async-iterable-collection/_shared/async-chunk-iterable.d.ts +1 -1
  384. package/dist/types/collection/implementations/async-iterable-collection/_shared/async-chunk-while-iterable.d.ts +1 -1
  385. package/dist/types/collection/implementations/async-iterable-collection/_shared/async-cross-join-iterable.d.ts +1 -1
  386. package/dist/types/collection/implementations/async-iterable-collection/_shared/async-delay-iterable.d.ts +13 -0
  387. package/dist/types/collection/implementations/async-iterable-collection/_shared/async-entries-iterable.d.ts +1 -1
  388. package/dist/types/collection/implementations/async-iterable-collection/_shared/async-group-by-iterable.d.ts +1 -1
  389. package/dist/types/collection/implementations/async-iterable-collection/_shared/async-insert-after-iterable.d.ts +1 -1
  390. package/dist/types/collection/implementations/async-iterable-collection/_shared/async-insert-before-iterable.d.ts +1 -1
  391. package/dist/types/collection/implementations/async-iterable-collection/_shared/async-merge-iterable.d.ts +5 -6
  392. package/dist/types/collection/implementations/async-iterable-collection/_shared/async-pad-end-iterable.d.ts +1 -1
  393. package/dist/types/collection/implementations/async-iterable-collection/_shared/async-pad-start-iterable.d.ts +1 -1
  394. package/dist/types/collection/implementations/async-iterable-collection/_shared/async-partion-iterable.d.ts +1 -1
  395. package/dist/types/collection/implementations/async-iterable-collection/_shared/async-repeat-iterable.d.ts +1 -1
  396. package/dist/types/collection/implementations/async-iterable-collection/_shared/async-retry-iterable.d.ts +13 -0
  397. package/dist/types/collection/implementations/async-iterable-collection/_shared/async-reverse-iterable.d.ts +1 -1
  398. package/dist/types/collection/implementations/async-iterable-collection/_shared/async-split-iterable.d.ts +1 -1
  399. package/dist/types/collection/implementations/async-iterable-collection/_shared/async-take-until-abort-iterable.d.ts +9 -0
  400. package/dist/types/collection/implementations/async-iterable-collection/_shared/async-take-until-timeout-iterable.d.ts +13 -0
  401. package/dist/types/collection/implementations/async-iterable-collection/_shared/async-zip-iterable.d.ts +1 -1
  402. package/dist/types/collection/implementations/async-iterable-collection/async-iterable-collection.d.ts +10 -4
  403. package/dist/types/collection/implementations/iterable-collection/_shared/merge-iterable.d.ts +4 -5
  404. package/dist/types/collection/implementations/iterable-collection/iterable-collection.d.ts +4 -1
  405. package/dist/types/collection/implementations/list-collection/list-collection.d.ts +4 -1
  406. package/dist/types/event-bus/contracts/_shared.d.ts +2 -5
  407. package/dist/types/event-bus/contracts/event-bus-adapter.contract.d.ts +12 -6
  408. package/dist/types/event-bus/contracts/event-bus-factory.contract.d.ts +4 -5
  409. package/dist/types/event-bus/contracts/event-bus.contract.d.ts +58 -27
  410. package/dist/types/event-bus/contracts/event-bus.errors.d.ts +3 -3
  411. package/dist/types/event-bus/implementations/_module.d.ts +1 -1
  412. package/dist/types/event-bus/implementations/_shared/_module.d.ts +2 -0
  413. package/dist/types/event-bus/implementations/_shared/event-bus-adapter.test-suite.d.ts +68 -0
  414. package/dist/types/event-bus/implementations/_shared/event-bus.test-suite.d.ts +72 -0
  415. package/dist/types/event-bus/implementations/adapters/_module.d.ts +1 -1
  416. package/dist/types/event-bus/implementations/adapters/memory-event-bus-adapter/memory-event-bus-adapter.d.ts +10 -5
  417. package/dist/types/event-bus/implementations/adapters/no-op-event-bus-adapter/no-op-event-bus-adapter.d.ts +4 -1
  418. package/dist/types/event-bus/implementations/adapters/redis-pub-sub-event-bus-adapter/redis-pub-sub-event-bus-adapter.d.ts +50 -0
  419. package/dist/types/event-bus/implementations/derivables/event-bus-factory.d.ts +7 -8
  420. package/dist/types/event-bus/implementations/derivables/event-bus.d.ts +20 -46
  421. package/dist/types/serde/contracts/_module.d.ts +2 -0
  422. package/dist/types/serde/contracts/serde.contract.d.ts +41 -0
  423. package/dist/types/{serializer/contracts/serializer.errors.d.ts → serde/contracts/serde.errors.d.ts} +4 -4
  424. package/dist/types/serde/implementations/_module.d.ts +5 -0
  425. package/dist/types/serde/implementations/_shared/test-utilities/_module.d.ts +1 -0
  426. package/dist/types/serde/implementations/_shared/test-utilities/serde.test-suite.d.ts +18 -0
  427. package/dist/types/serde/implementations/mongodb-serde/_module.d.ts +1 -0
  428. package/dist/types/serde/implementations/mongodb-serde/mongodb-serde.d.ts +13 -0
  429. package/dist/types/serde/implementations/redis-serde/_module.d.ts +1 -0
  430. package/dist/types/serde/implementations/redis-serde/redis-serde.d.ts +13 -0
  431. package/dist/types/serde/implementations/sql-serde/_module.d.ts +1 -0
  432. package/dist/types/serde/implementations/sql-serde/sql-serde.d.ts +13 -0
  433. package/dist/types/serde/implementations/super-json-serde/_module.d.ts +1 -0
  434. package/dist/types/serde/implementations/super-json-serde/super-json-serde.d.ts +25 -0
  435. package/dist/types/utilities/_module.d.ts +5 -4
  436. package/dist/types/utilities/contracts/_module.d.ts +2 -0
  437. package/dist/types/utilities/contracts/deinitizable.contract.d.ts +9 -0
  438. package/dist/types/utilities/contracts/initizable.contract.d.ts +9 -0
  439. package/dist/types/utilities/{global-errors.d.ts → errors.d.ts} +10 -1
  440. package/dist/types/{_shared/utilities.d.ts → utilities/functions.d.ts} +4 -4
  441. package/dist/types/utilities/kysely/_module.d.ts +1 -0
  442. package/dist/types/{_shared → utilities}/kysely/kysely-table-name-transformer-plugin.d.ts +1 -1
  443. package/dist/types/utilities/time-span/time-span.d.ts +11 -2
  444. package/dist/types/{_shared → utilities}/types.d.ts +3 -8
  445. package/package.json +3 -9
  446. package/dist/cjs/_shared/kysely/_module.js.map +0 -1
  447. package/dist/cjs/_shared/kysely/kysely-table-name-transformer-plugin.js.map +0 -1
  448. package/dist/cjs/_shared/redis/_module.js.map +0 -1
  449. package/dist/cjs/_shared/redis/clear-iterable.js +0 -25
  450. package/dist/cjs/_shared/redis/clear-iterable.js.map +0 -1
  451. package/dist/cjs/_shared/redis/escape-redis-chars.js +0 -41
  452. package/dist/cjs/_shared/redis/escape-redis-chars.js.map +0 -1
  453. package/dist/cjs/_shared/redis/is-redis-type-error.js +0 -9
  454. package/dist/cjs/_shared/redis/is-redis-type-error.js.map +0 -1
  455. package/dist/cjs/_shared/utilities.js.map +0 -1
  456. package/dist/cjs/cache/implementations/derivables/base-cache.js +0 -262
  457. package/dist/cjs/cache/implementations/derivables/base-cache.js.map +0 -1
  458. package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-error-handler-iterable.js +0 -31
  459. package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-error-handler-iterable.js.map +0 -1
  460. package/dist/cjs/event-bus/implementations/_shared/test-utilities/_module.js.map +0 -1
  461. package/dist/cjs/event-bus/implementations/_shared/test-utilities/event-bus-adapter.test-suite.js +0 -51
  462. package/dist/cjs/event-bus/implementations/_shared/test-utilities/event-bus-adapter.test-suite.js.map +0 -1
  463. package/dist/cjs/event-bus/implementations/adapters/redis-event-bus-adapter/_module.js.map +0 -1
  464. package/dist/cjs/event-bus/implementations/adapters/redis-event-bus-adapter/redis-event-bus-adapter.js +0 -45
  465. package/dist/cjs/event-bus/implementations/adapters/redis-event-bus-adapter/redis-event-bus-adapter.js.map +0 -1
  466. package/dist/cjs/event-bus/implementations/derivables/base-event-bus.js +0 -47
  467. package/dist/cjs/event-bus/implementations/derivables/base-event-bus.js.map +0 -1
  468. package/dist/cjs/event-bus/implementations/derivables/with-namespace-event-bus-adapter.js +0 -42
  469. package/dist/cjs/event-bus/implementations/derivables/with-namespace-event-bus-adapter.js.map +0 -1
  470. package/dist/cjs/serializer/contracts/_module.js.map +0 -1
  471. package/dist/cjs/serializer/contracts/serializer.contract.js.map +0 -1
  472. package/dist/cjs/serializer/contracts/serializer.errors.js.map +0 -1
  473. package/dist/cjs/serializer/implementations/_module.js +0 -22
  474. package/dist/cjs/serializer/implementations/_module.js.map +0 -1
  475. package/dist/cjs/serializer/implementations/_shared/test-utilities/_module.js.map +0 -1
  476. package/dist/cjs/serializer/implementations/_shared/test-utilities/serializer.test-suite.js.map +0 -1
  477. package/dist/cjs/serializer/implementations/mongodb-serializer/_module.js.map +0 -1
  478. package/dist/cjs/serializer/implementations/mongodb-serializer/mongodb-serializer.js +0 -36
  479. package/dist/cjs/serializer/implementations/mongodb-serializer/mongodb-serializer.js.map +0 -1
  480. package/dist/cjs/serializer/implementations/redis-serializer/_module.js.map +0 -1
  481. package/dist/cjs/serializer/implementations/redis-serializer/redis-serializer.js +0 -37
  482. package/dist/cjs/serializer/implementations/redis-serializer/redis-serializer.js.map +0 -1
  483. package/dist/cjs/serializer/implementations/sql-serializer/_module.js.map +0 -1
  484. package/dist/cjs/serializer/implementations/sql-serializer/sql-serializer.js +0 -37
  485. package/dist/cjs/serializer/implementations/sql-serializer/sql-serializer.js.map +0 -1
  486. package/dist/cjs/serializer/implementations/super-json-serializer/_module.js +0 -18
  487. package/dist/cjs/serializer/implementations/super-json-serializer/_module.js.map +0 -1
  488. package/dist/cjs/serializer/implementations/super-json-serializer/super-json-serializer.js.map +0 -1
  489. package/dist/cjs/utilities/async/_module.js +0 -29
  490. package/dist/cjs/utilities/async/_module.js.map +0 -1
  491. package/dist/cjs/utilities/async/_shared.js.map +0 -1
  492. package/dist/cjs/utilities/async/abortable/_module.js.map +0 -1
  493. package/dist/cjs/utilities/async/abortable/abortable.js +0 -48
  494. package/dist/cjs/utilities/async/abortable/abortable.js.map +0 -1
  495. package/dist/cjs/utilities/async/abortable-iterable/_module.js.map +0 -1
  496. package/dist/cjs/utilities/async/abortable-iterable/abortable-iterable.js +0 -32
  497. package/dist/cjs/utilities/async/abortable-iterable/abortable-iterable.js.map +0 -1
  498. package/dist/cjs/utilities/async/delay/_module.js.map +0 -1
  499. package/dist/cjs/utilities/async/delay/delay.js +0 -24
  500. package/dist/cjs/utilities/async/delay/delay.js.map +0 -1
  501. package/dist/cjs/utilities/async/delay-iterable/_module.js.map +0 -1
  502. package/dist/cjs/utilities/async/delay-iterable/delay-iterable.js +0 -36
  503. package/dist/cjs/utilities/async/delay-iterable/delay-iterable.js.map +0 -1
  504. package/dist/cjs/utilities/async/lazy-promise/_module.js.map +0 -1
  505. package/dist/cjs/utilities/async/lazy-promise/lazy-promise.js +0 -22
  506. package/dist/cjs/utilities/async/lazy-promise/lazy-promise.js.map +0 -1
  507. package/dist/cjs/utilities/async/retry/_module.js.map +0 -1
  508. package/dist/cjs/utilities/async/retry/retry.js +0 -43
  509. package/dist/cjs/utilities/async/retry/retry.js.map +0 -1
  510. package/dist/cjs/utilities/async/retry-iterable/_module.js +0 -18
  511. package/dist/cjs/utilities/async/retry-iterable/_module.js.map +0 -1
  512. package/dist/cjs/utilities/async/retry-iterable/retry-iterable.js +0 -32
  513. package/dist/cjs/utilities/async/retry-iterable/retry-iterable.js.map +0 -1
  514. package/dist/cjs/utilities/async/timeout/_module.js.map +0 -1
  515. package/dist/cjs/utilities/async/timeout/timeout.js +0 -28
  516. package/dist/cjs/utilities/async/timeout/timeout.js.map +0 -1
  517. package/dist/cjs/utilities/async/timeout-iterable/_module.js +0 -18
  518. package/dist/cjs/utilities/async/timeout-iterable/_module.js.map +0 -1
  519. package/dist/cjs/utilities/async/timeout-iterable/timeout-iterable.js +0 -11
  520. package/dist/cjs/utilities/async/timeout-iterable/timeout-iterable.js.map +0 -1
  521. package/dist/cjs/utilities/backof-policies/_module.js.map +0 -1
  522. package/dist/cjs/utilities/backof-policies/_shared.js.map +0 -1
  523. package/dist/cjs/utilities/backof-policies/constant-backoff-policy/_module.js +0 -18
  524. package/dist/cjs/utilities/backof-policies/constant-backoff-policy/_module.js.map +0 -1
  525. package/dist/cjs/utilities/backof-policies/constant-backoff-policy/constant-backoff-policy.js.map +0 -1
  526. package/dist/cjs/utilities/backof-policies/exponential-backoff-policy/_module.js +0 -18
  527. package/dist/cjs/utilities/backof-policies/exponential-backoff-policy/_module.js.map +0 -1
  528. package/dist/cjs/utilities/backof-policies/exponential-backoff-policy/exponential-backoff-policy.js.map +0 -1
  529. package/dist/cjs/utilities/backof-policies/linear-backoff-policy/_module.js +0 -18
  530. package/dist/cjs/utilities/backof-policies/linear-backoff-policy/_module.js.map +0 -1
  531. package/dist/cjs/utilities/backof-policies/linear-backoff-policy/linear-backoff-policy.js.map +0 -1
  532. package/dist/cjs/utilities/backof-policies/polynomial-backoff-policy/_module.js +0 -18
  533. package/dist/cjs/utilities/backof-policies/polynomial-backoff-policy/_module.js.map +0 -1
  534. package/dist/cjs/utilities/backof-policies/polynomial-backoff-policy/polynomial-backoff-policy.js.map +0 -1
  535. package/dist/cjs/utilities/global-errors.js.map +0 -1
  536. package/dist/cjs/utilities/validation/_module.js +0 -22
  537. package/dist/cjs/utilities/validation/_module.js.map +0 -1
  538. package/dist/esm/_shared/kysely/_module.js +0 -2
  539. package/dist/esm/_shared/kysely/_module.js.map +0 -1
  540. package/dist/esm/_shared/kysely/kysely-table-name-transformer-plugin.js.map +0 -1
  541. package/dist/esm/_shared/redis/_module.js +0 -4
  542. package/dist/esm/_shared/redis/_module.js.map +0 -1
  543. package/dist/esm/_shared/redis/clear-iterable.js +0 -21
  544. package/dist/esm/_shared/redis/clear-iterable.js.map +0 -1
  545. package/dist/esm/_shared/redis/escape-redis-chars.js +0 -38
  546. package/dist/esm/_shared/redis/escape-redis-chars.js.map +0 -1
  547. package/dist/esm/_shared/redis/is-redis-type-error.js +0 -6
  548. package/dist/esm/_shared/redis/is-redis-type-error.js.map +0 -1
  549. package/dist/esm/_shared/utilities.js.map +0 -1
  550. package/dist/esm/cache/implementations/derivables/base-cache.js +0 -258
  551. package/dist/esm/cache/implementations/derivables/base-cache.js.map +0 -1
  552. package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-error-handler-iterable.js +0 -27
  553. package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-error-handler-iterable.js.map +0 -1
  554. package/dist/esm/event-bus/implementations/_shared/test-utilities/_module.js +0 -2
  555. package/dist/esm/event-bus/implementations/_shared/test-utilities/_module.js.map +0 -1
  556. package/dist/esm/event-bus/implementations/_shared/test-utilities/event-bus-adapter.test-suite.js +0 -48
  557. package/dist/esm/event-bus/implementations/_shared/test-utilities/event-bus-adapter.test-suite.js.map +0 -1
  558. package/dist/esm/event-bus/implementations/adapters/redis-event-bus-adapter/_module.js.map +0 -1
  559. package/dist/esm/event-bus/implementations/adapters/redis-event-bus-adapter/redis-event-bus-adapter.js +0 -41
  560. package/dist/esm/event-bus/implementations/adapters/redis-event-bus-adapter/redis-event-bus-adapter.js.map +0 -1
  561. package/dist/esm/event-bus/implementations/derivables/base-event-bus.js +0 -43
  562. package/dist/esm/event-bus/implementations/derivables/base-event-bus.js.map +0 -1
  563. package/dist/esm/event-bus/implementations/derivables/with-namespace-event-bus-adapter.js +0 -38
  564. package/dist/esm/event-bus/implementations/derivables/with-namespace-event-bus-adapter.js.map +0 -1
  565. package/dist/esm/serializer/contracts/_module.js +0 -3
  566. package/dist/esm/serializer/contracts/_module.js.map +0 -1
  567. package/dist/esm/serializer/contracts/serializer.contract.js +0 -1
  568. package/dist/esm/serializer/contracts/serializer.contract.js.map +0 -1
  569. package/dist/esm/serializer/contracts/serializer.errors.js.map +0 -1
  570. package/dist/esm/serializer/implementations/_module.js +0 -6
  571. package/dist/esm/serializer/implementations/_module.js.map +0 -1
  572. package/dist/esm/serializer/implementations/_shared/test-utilities/_module.js +0 -2
  573. package/dist/esm/serializer/implementations/_shared/test-utilities/_module.js.map +0 -1
  574. package/dist/esm/serializer/implementations/_shared/test-utilities/serializer.test-suite.js.map +0 -1
  575. package/dist/esm/serializer/implementations/mongodb-serializer/_module.js +0 -2
  576. package/dist/esm/serializer/implementations/mongodb-serializer/_module.js.map +0 -1
  577. package/dist/esm/serializer/implementations/mongodb-serializer/mongodb-serializer.js.map +0 -1
  578. package/dist/esm/serializer/implementations/redis-serializer/_module.js +0 -2
  579. package/dist/esm/serializer/implementations/redis-serializer/_module.js.map +0 -1
  580. package/dist/esm/serializer/implementations/redis-serializer/redis-serializer.js.map +0 -1
  581. package/dist/esm/serializer/implementations/sql-serializer/_module.js +0 -2
  582. package/dist/esm/serializer/implementations/sql-serializer/_module.js.map +0 -1
  583. package/dist/esm/serializer/implementations/sql-serializer/sql-serializer.js.map +0 -1
  584. package/dist/esm/serializer/implementations/super-json-serializer/_module.js +0 -2
  585. package/dist/esm/serializer/implementations/super-json-serializer/_module.js.map +0 -1
  586. package/dist/esm/serializer/implementations/super-json-serializer/super-json-serializer.js.map +0 -1
  587. package/dist/esm/utilities/async/_module.js +0 -11
  588. package/dist/esm/utilities/async/_module.js.map +0 -1
  589. package/dist/esm/utilities/async/_shared.js.map +0 -1
  590. package/dist/esm/utilities/async/abortable/_module.js +0 -2
  591. package/dist/esm/utilities/async/abortable/_module.js.map +0 -1
  592. package/dist/esm/utilities/async/abortable/abortable.js.map +0 -1
  593. package/dist/esm/utilities/async/abortable-iterable/_module.js +0 -2
  594. package/dist/esm/utilities/async/abortable-iterable/_module.js.map +0 -1
  595. package/dist/esm/utilities/async/abortable-iterable/abortable-iterable.js +0 -29
  596. package/dist/esm/utilities/async/abortable-iterable/abortable-iterable.js.map +0 -1
  597. package/dist/esm/utilities/async/delay/_module.js +0 -2
  598. package/dist/esm/utilities/async/delay/_module.js.map +0 -1
  599. package/dist/esm/utilities/async/delay/delay.js +0 -21
  600. package/dist/esm/utilities/async/delay/delay.js.map +0 -1
  601. package/dist/esm/utilities/async/delay-iterable/_module.js +0 -2
  602. package/dist/esm/utilities/async/delay-iterable/_module.js.map +0 -1
  603. package/dist/esm/utilities/async/delay-iterable/delay-iterable.js +0 -33
  604. package/dist/esm/utilities/async/delay-iterable/delay-iterable.js.map +0 -1
  605. package/dist/esm/utilities/async/lazy-promise/_module.js +0 -2
  606. package/dist/esm/utilities/async/lazy-promise/_module.js.map +0 -1
  607. package/dist/esm/utilities/async/lazy-promise/lazy-promise.js +0 -17
  608. package/dist/esm/utilities/async/lazy-promise/lazy-promise.js.map +0 -1
  609. package/dist/esm/utilities/async/retry/_module.js +0 -2
  610. package/dist/esm/utilities/async/retry/_module.js.map +0 -1
  611. package/dist/esm/utilities/async/retry/retry.js +0 -40
  612. package/dist/esm/utilities/async/retry/retry.js.map +0 -1
  613. package/dist/esm/utilities/async/retry-iterable/_module.js +0 -2
  614. package/dist/esm/utilities/async/retry-iterable/_module.js.map +0 -1
  615. package/dist/esm/utilities/async/retry-iterable/retry-iterable.js +0 -29
  616. package/dist/esm/utilities/async/retry-iterable/retry-iterable.js.map +0 -1
  617. package/dist/esm/utilities/async/timeout/_module.js +0 -2
  618. package/dist/esm/utilities/async/timeout/_module.js.map +0 -1
  619. package/dist/esm/utilities/async/timeout/timeout.js +0 -25
  620. package/dist/esm/utilities/async/timeout/timeout.js.map +0 -1
  621. package/dist/esm/utilities/async/timeout-iterable/_module.js +0 -2
  622. package/dist/esm/utilities/async/timeout-iterable/_module.js.map +0 -1
  623. package/dist/esm/utilities/async/timeout-iterable/timeout-iterable.js +0 -8
  624. package/dist/esm/utilities/async/timeout-iterable/timeout-iterable.js.map +0 -1
  625. package/dist/esm/utilities/backof-policies/_module.js +0 -5
  626. package/dist/esm/utilities/backof-policies/_module.js.map +0 -1
  627. package/dist/esm/utilities/backof-policies/_shared.js.map +0 -1
  628. package/dist/esm/utilities/backof-policies/constant-backoff-policy/_module.js +0 -2
  629. package/dist/esm/utilities/backof-policies/constant-backoff-policy/_module.js.map +0 -1
  630. package/dist/esm/utilities/backof-policies/constant-backoff-policy/constant-backoff-policy.js.map +0 -1
  631. package/dist/esm/utilities/backof-policies/exponential-backoff-policy/_module.js +0 -2
  632. package/dist/esm/utilities/backof-policies/exponential-backoff-policy/_module.js.map +0 -1
  633. package/dist/esm/utilities/backof-policies/exponential-backoff-policy/exponential-backoff-policy.js.map +0 -1
  634. package/dist/esm/utilities/backof-policies/linear-backoff-policy/_module.js +0 -2
  635. package/dist/esm/utilities/backof-policies/linear-backoff-policy/_module.js.map +0 -1
  636. package/dist/esm/utilities/backof-policies/linear-backoff-policy/linear-backoff-policy.js.map +0 -1
  637. package/dist/esm/utilities/backof-policies/polynomial-backoff-policy/_module.js +0 -2
  638. package/dist/esm/utilities/backof-policies/polynomial-backoff-policy/_module.js.map +0 -1
  639. package/dist/esm/utilities/backof-policies/polynomial-backoff-policy/polynomial-backoff-policy.js.map +0 -1
  640. package/dist/esm/utilities/global-errors.js.map +0 -1
  641. package/dist/esm/utilities/validation/_module.js +0 -17
  642. package/dist/esm/utilities/validation/_module.js.map +0 -1
  643. package/dist/types/_shared/kysely/_module.d.ts +0 -1
  644. package/dist/types/_shared/redis/_module.d.ts +0 -3
  645. package/dist/types/_shared/redis/clear-iterable.d.ts +0 -13
  646. package/dist/types/_shared/redis/escape-redis-chars.d.ts +0 -7
  647. package/dist/types/_shared/redis/is-redis-type-error.d.ts +0 -7
  648. package/dist/types/cache/implementations/derivables/base-cache.d.ts +0 -57
  649. package/dist/types/collection/implementations/async-iterable-collection/_shared/async-error-handler-iterable.d.ts +0 -12
  650. package/dist/types/event-bus/implementations/_shared/test-utilities/_module.d.ts +0 -1
  651. package/dist/types/event-bus/implementations/_shared/test-utilities/event-bus-adapter.test-suite.d.ts +0 -36
  652. package/dist/types/event-bus/implementations/adapters/redis-event-bus-adapter/redis-event-bus-adapter.d.ts +0 -43
  653. package/dist/types/event-bus/implementations/derivables/base-event-bus.d.ts +0 -23
  654. package/dist/types/event-bus/implementations/derivables/with-namespace-event-bus-adapter.d.ts +0 -16
  655. package/dist/types/serializer/contracts/_module.d.ts +0 -2
  656. package/dist/types/serializer/contracts/serializer.contract.d.ts +0 -16
  657. package/dist/types/serializer/implementations/_module.d.ts +0 -5
  658. package/dist/types/serializer/implementations/_shared/test-utilities/_module.d.ts +0 -1
  659. package/dist/types/serializer/implementations/_shared/test-utilities/serializer.test-suite.d.ts +0 -18
  660. package/dist/types/serializer/implementations/mongodb-serializer/_module.d.ts +0 -1
  661. package/dist/types/serializer/implementations/mongodb-serializer/mongodb-serializer.d.ts +0 -13
  662. package/dist/types/serializer/implementations/redis-serializer/_module.d.ts +0 -1
  663. package/dist/types/serializer/implementations/redis-serializer/redis-serializer.d.ts +0 -13
  664. package/dist/types/serializer/implementations/sql-serializer/_module.d.ts +0 -1
  665. package/dist/types/serializer/implementations/sql-serializer/sql-serializer.d.ts +0 -13
  666. package/dist/types/serializer/implementations/super-json-serializer/_module.d.ts +0 -1
  667. package/dist/types/serializer/implementations/super-json-serializer/super-json-serializer.d.ts +0 -37
  668. package/dist/types/utilities/async/_module.d.ts +0 -10
  669. package/dist/types/utilities/async/abortable/_module.d.ts +0 -1
  670. package/dist/types/utilities/async/abortable/abortable.d.ts +0 -39
  671. package/dist/types/utilities/async/abortable-iterable/_module.d.ts +0 -1
  672. package/dist/types/utilities/async/abortable-iterable/abortable-iterable.d.ts +0 -36
  673. package/dist/types/utilities/async/delay/_module.d.ts +0 -1
  674. package/dist/types/utilities/async/delay/delay.d.ts +0 -38
  675. package/dist/types/utilities/async/delay-iterable/_module.d.ts +0 -1
  676. package/dist/types/utilities/async/delay-iterable/delay-iterable.d.ts +0 -57
  677. package/dist/types/utilities/async/lazy-promise/_module.d.ts +0 -1
  678. package/dist/types/utilities/async/lazy-promise/lazy-promise.d.ts +0 -28
  679. package/dist/types/utilities/async/retry/_module.d.ts +0 -1
  680. package/dist/types/utilities/async/retry/retry.d.ts +0 -89
  681. package/dist/types/utilities/async/retry-iterable/_module.d.ts +0 -1
  682. package/dist/types/utilities/async/retry-iterable/retry-iterable.d.ts +0 -86
  683. package/dist/types/utilities/async/timeout/_module.d.ts +0 -1
  684. package/dist/types/utilities/async/timeout/timeout.d.ts +0 -40
  685. package/dist/types/utilities/async/timeout-iterable/_module.d.ts +0 -1
  686. package/dist/types/utilities/async/timeout-iterable/timeout-iterable.d.ts +0 -64
  687. package/dist/types/utilities/backof-policies/_module.d.ts +0 -5
  688. package/dist/types/utilities/backof-policies/constant-backoff-policy/_module.d.ts +0 -1
  689. package/dist/types/utilities/backof-policies/exponential-backoff-policy/_module.d.ts +0 -1
  690. package/dist/types/utilities/backof-policies/linear-backoff-policy/_module.d.ts +0 -1
  691. package/dist/types/utilities/backof-policies/polynomial-backoff-policy/_module.d.ts +0 -1
  692. package/dist/types/utilities/validation/_module.d.ts +0 -32
  693. /package/dist/cjs/{utilities → async}/backof-policies/_shared.js +0 -0
  694. /package/dist/cjs/event-bus/implementations/adapters/{redis-event-bus-adapter → redis-pub-sub-event-bus-adapter}/_module.js +0 -0
  695. /package/dist/cjs/{_shared → utilities}/kysely/kysely-table-name-transformer-plugin.js +0 -0
  696. /package/dist/cjs/{_shared → utilities}/types.js +0 -0
  697. /package/dist/esm/{utilities → async}/backof-policies/_shared.js +0 -0
  698. /package/dist/esm/event-bus/implementations/adapters/{redis-event-bus-adapter → redis-pub-sub-event-bus-adapter}/_module.js +0 -0
  699. /package/dist/esm/{_shared → utilities}/kysely/kysely-table-name-transformer-plugin.js +0 -0
  700. /package/dist/esm/{_shared → utilities}/types.js +0 -0
  701. /package/dist/types/event-bus/implementations/adapters/{redis-event-bus-adapter → redis-pub-sub-event-bus-adapter}/_module.d.ts +0 -0
@@ -14,13 +14,14 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./async/_module"), exports);
17
18
  __exportStar(require("./cache/implementations/_module"), exports);
18
19
  __exportStar(require("./cache/contracts/_module"), exports);
19
20
  __exportStar(require("./collection/implementations/_module"), exports);
20
21
  __exportStar(require("./collection/contracts/_module"), exports);
21
22
  __exportStar(require("./event-bus/implementations/_module"), exports);
22
23
  __exportStar(require("./event-bus/contracts/_module"), exports);
23
- __exportStar(require("./serializer/implementations/_module"), exports);
24
- __exportStar(require("./serializer/contracts/_module"), exports);
24
+ __exportStar(require("./serde/implementations/_module"), exports);
25
+ __exportStar(require("./serde/contracts/_module"), exports);
25
26
  __exportStar(require("./utilities/_module"), exports);
26
27
  //# sourceMappingURL=_module.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"_module.js","sourceRoot":"","sources":["../../src/_module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kEAAgD;AAChD,4DAA0C;AAC1C,uEAAqD;AACrD,iEAA+C;AAC/C,sEAAoD;AACpD,gEAA8C;AAC9C,uEAAqD;AACrD,iEAA+C;AAC/C,sDAAoC"}
1
+ {"version":3,"file":"_module.js","sourceRoot":"","sources":["../../src/_module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,kEAAgD;AAChD,4DAA0C;AAC1C,uEAAqD;AACrD,iEAA+C;AAC/C,sEAAoD;AACpD,gEAA8C;AAC9C,kEAAgD;AAChD,4DAA0C;AAC1C,sDAAoC"}
@@ -0,0 +1,20 @@
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/utilities/_module"), exports);
18
+ __exportStar(require("../async/backof-policies/_module"), exports);
19
+ __exportStar(require("../async/async.errors"), exports);
20
+ //# sourceMappingURL=_module.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../src/async/_module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C;AAC1C,kEAAgD;AAChD,uDAAqC"}
@@ -31,4 +31,4 @@ class RetryAsyncError extends AsyncError {
31
31
  }
32
32
  }
33
33
  exports.RetryAsyncError = RetryAsyncError;
34
- //# sourceMappingURL=_shared.js.map
34
+ //# sourceMappingURL=async.errors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"async.errors.js","sourceRoot":"","sources":["../../../src/async/async.errors.ts"],"names":[],"mappings":";;;AAOA,MAAa,UAAW,SAAQ,KAAK;IACjC,YAAY,OAAe,EAAE,KAAe;QACxC,KAAK,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC;QAC1B,IAAI,CAAC,IAAI,GAAG,UAAU,CAAC,IAAI,CAAC;IAChC,CAAC;CACJ;AALD,gCAKC;AAKD,MAAa,eAAgB,SAAQ,UAAU;IAC3C,YAAY,OAAe,EAAE,KAAe;QACxC,KAAK,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;QACtB,IAAI,CAAC,IAAI,GAAG,eAAe,CAAC,IAAI,CAAC;IACrC,CAAC;CACJ;AALD,0CAKC;AAKD,MAAa,iBAAkB,SAAQ,UAAU;IAC7C,YAAY,OAAe,EAAE,KAAe;QACxC,KAAK,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;QACtB,IAAI,CAAC,IAAI,GAAG,iBAAiB,CAAC,IAAI,CAAC;IACvC,CAAC;CACJ;AALD,8CAKC;AAaD,MAAa,eAAgB,SAAQ,UAAU;IAC3B,WAAW,CAAS;IAEpC,YAAY,OAAe,EAAE,EAAE,KAAK,EAAE,WAAW,EAAuB;QACpE,KAAK,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;QACtB,IAAI,CAAC,IAAI,GAAG,eAAe,CAAC,IAAI,CAAC;QACjC,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;IACnC,CAAC;CACJ;AARD,0CAQC"}
@@ -14,8 +14,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("../../utilities/backof-policies/constant-backoff-policy/_module"), exports);
18
- __exportStar(require("../../utilities/backof-policies/exponential-backoff-policy/_module"), exports);
19
- __exportStar(require("../../utilities/backof-policies/linear-backoff-policy/_module"), exports);
20
- __exportStar(require("../../utilities/backof-policies/polynomial-backoff-policy/_module"), exports);
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
21
  //# sourceMappingURL=_module.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../../src/async/backof-policies/_module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AACA,0FAAwE;AACxE,6FAA2E;AAC3E,wFAAsE;AACtE,4FAA0E"}
@@ -0,0 +1 @@
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"}
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("../../../serializer/implementations/sql-serializer/sql-serializer"), exports);
17
+ __exportStar(require("../../../async/backof-policies/constant-backoff-policy/constant-backoff-policy"), exports);
18
18
  //# sourceMappingURL=_module.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../../../src/async/backof-policies/constant-backoff-policy/_module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0GAAwF"}
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.constantBackoffPolicy = constantBackoffPolicy;
4
4
  const _module_1 = require("../../../utilities/_module");
5
- const _shared_1 = require("../../../utilities/backof-policies/_shared");
5
+ const _shared_1 = require("../../../async/backof-policies/_shared");
6
6
  function constantBackoffPolicy(settings = {}) {
7
7
  return (_attempt, error) => {
8
8
  if (typeof settings === "function") {
@@ -0,0 +1 @@
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"}
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("../../../../serializer/implementations/_shared/test-utilities/serializer.test-suite"), exports);
17
+ __exportStar(require("../../../async/backof-policies/exponential-backoff-policy/exponential-backoff-policy"), exports);
18
18
  //# sourceMappingURL=_module.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../../../src/async/backof-policies/exponential-backoff-policy/_module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gHAA8F"}
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.exponentialBackoffPolicy = exponentialBackoffPolicy;
4
4
  const _module_1 = require("../../../utilities/_module");
5
- const _shared_1 = require("../../../utilities/backof-policies/_shared");
5
+ const _shared_1 = require("../../../async/backof-policies/_shared");
6
6
  function exponentialBackoffPolicy(settings = {}) {
7
7
  return (attempt, error) => {
8
8
  if (typeof settings === "function") {
@@ -0,0 +1 @@
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"}
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("../../../serializer/implementations/mongodb-serializer/mongodb-serializer"), exports);
17
+ __exportStar(require("../../../async/backof-policies/linear-backoff-policy/linear-backoff-policy"), exports);
18
18
  //# sourceMappingURL=_module.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../../../src/async/backof-policies/linear-backoff-policy/_module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sGAAoF"}
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.linearBackoffPolicy = linearBackoffPolicy;
4
4
  const _module_1 = require("../../../utilities/_module");
5
- const _shared_1 = require("../../../utilities/backof-policies/_shared");
5
+ const _shared_1 = require("../../../async/backof-policies/_shared");
6
6
  function linearBackoffPolicy(settings = {}) {
7
7
  return (attempt, error) => {
8
8
  if (typeof settings === "function") {
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,18 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../../../src/async/backof-policies/polynomial-backoff-policy/_module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8GAA4F"}
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.polynomialBackoffPolicy = polynomialBackoffPolicy;
4
4
  const _module_1 = require("../../../utilities/_module");
5
- const _shared_1 = require("../../../utilities/backof-policies/_shared");
5
+ const _shared_1 = require("../../../async/backof-policies/_shared");
6
6
  function polynomialBackoffPolicy(settings = {}) {
7
7
  return (attempt, error) => {
8
8
  if (typeof settings === "function") {
@@ -0,0 +1 @@
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"}
@@ -14,5 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("../../../../event-bus/implementations/_shared/test-utilities/event-bus-adapter.test-suite"), exports);
17
+ __exportStar(require("../../async/utilities/delay/_module"), exports);
18
+ __exportStar(require("../../async/utilities/lazy-promise/_module"), exports);
18
19
  //# sourceMappingURL=_module.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../../src/async/utilities/_module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kEAAgD;AAChD,yEAAuD"}
@@ -0,0 +1,19 @@
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/utilities/abort/abort-and-fail"), exports);
18
+ __exportStar(require("../../../async/utilities/abort/abort"), exports);
19
+ //# sourceMappingURL=_module.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../../../src/async/utilities/abort/_module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yEAAuD;AACvD,gEAA8C"}
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.abortAndFail = abortAndFail;
4
+ const async_errors_1 = require("../../../async/async.errors");
5
+ function abortSignalToPromise(abortSignal) {
6
+ let reject_ = null;
7
+ function abort() {
8
+ if (reject_ === null) {
9
+ return;
10
+ }
11
+ reject_(new async_errors_1.AbortAsyncError(`Promise was aborted with reason of "${String(abortSignal.reason)}"`, abortSignal.reason));
12
+ }
13
+ if (abortSignal.aborted) {
14
+ return {
15
+ promise: Promise.reject(new async_errors_1.AbortAsyncError(`Promise was aborted with reason of "${String(abortSignal.aborted)}"`, abortSignal.reason)),
16
+ abort,
17
+ };
18
+ }
19
+ return {
20
+ promise: new Promise((_resolve, reject) => {
21
+ reject_ = reject;
22
+ if (abortSignal.aborted) {
23
+ abort();
24
+ return;
25
+ }
26
+ abortSignal.addEventListener("abort", abort, {
27
+ once: true,
28
+ });
29
+ }),
30
+ abort,
31
+ };
32
+ }
33
+ async function abortAndFail(asyncFn, abortSignal) {
34
+ if (abortSignal.aborted) {
35
+ throw new async_errors_1.AbortAsyncError(`Promise was aborted with reason of "${String(abortSignal.reason)}"`, abortSignal.reason);
36
+ }
37
+ const { promise: abortSignalPromise, abort } = abortSignalToPromise(abortSignal);
38
+ try {
39
+ return await Promise.race([asyncFn(), abortSignalPromise]);
40
+ }
41
+ finally {
42
+ abortSignal.removeEventListener("abort", abort);
43
+ }
44
+ }
45
+ //# sourceMappingURL=abort-and-fail.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"abort-and-fail.js","sourceRoot":"","sources":["../../../../../src/async/utilities/abort/abort-and-fail.ts"],"names":[],"mappings":";;AAyDA,oCAkBC;AAxED,uDAAuD;AAKvD,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,8BAAe,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,8BAAe,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;AAKM,KAAK,UAAU,YAAY,CAC9B,OAAkC,EAClC,WAAwB;IAExB,IAAI,WAAW,CAAC,OAAO,EAAE,CAAC;QACtB,MAAM,IAAI,8BAAe,CACrB,uCAAuC,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,GAAG,EACpE,WAAW,CAAC,MAAM,CACrB,CAAC;IACN,CAAC;IAED,MAAM,EAAE,OAAO,EAAE,kBAAkB,EAAE,KAAK,EAAE,GACxC,oBAAoB,CAAS,WAAW,CAAC,CAAC;IAC9C,IAAI,CAAC;QACD,OAAO,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,kBAAkB,CAAC,CAAC,CAAC;IAC/D,CAAC;YAAS,CAAC;QACP,WAAW,CAAC,mBAAmB,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;IACpD,CAAC;AACL,CAAC"}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.abort = abort;
4
+ const async_errors_1 = require("../../../async/async.errors");
5
+ const abort_and_fail_1 = require("../../../async/utilities/abort/abort-and-fail");
6
+ async function abort(asyncFn, abortSignal) {
7
+ try {
8
+ const value = await (0, abort_and_fail_1.abortAndFail)(asyncFn, abortSignal);
9
+ return [value, null];
10
+ }
11
+ catch (error) {
12
+ if (error instanceof async_errors_1.AbortAsyncError) {
13
+ return [null, error];
14
+ }
15
+ throw error;
16
+ }
17
+ }
18
+ //# sourceMappingURL=abort.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"abort.js","sourceRoot":"","sources":["../../../../../src/async/utilities/abort/abort.ts"],"names":[],"mappings":";;AAUA,sBAaC;AAnBD,uDAAuD;AACvD,2EAAsE;AAK/D,KAAK,UAAU,KAAK,CACvB,OAAkC,EAClC,WAAwB;IAExB,IAAI,CAAC;QACD,MAAM,KAAK,GAAG,MAAM,IAAA,6BAAY,EAAC,OAAO,EAAE,WAAW,CAAC,CAAC;QACvD,OAAO,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IACzB,CAAC;IAAC,OAAO,KAAc,EAAE,CAAC;QACtB,IAAI,KAAK,YAAY,8BAAe,EAAE,CAAC;YACnC,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;QACzB,CAAC;QACD,MAAM,KAAK,CAAC;IAChB,CAAC;AACL,CAAC"}
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("../../../utilities/async/delay/delay"), exports);
17
+ __exportStar(require("../../../async/utilities/delay/delay"), exports);
18
18
  //# sourceMappingURL=_module.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../../../src/async/utilities/delay/_module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gEAA8C"}
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.delay = delay;
4
+ const _module_1 = require("../../../async/utilities/abort/_module");
5
+ async function delay(time, abortSignal = new AbortController().signal) {
6
+ let timeoutId = null;
7
+ try {
8
+ return (0, _module_1.abortAndFail)(() => new Promise((resolve) => {
9
+ timeoutId = setTimeout(() => {
10
+ resolve();
11
+ }, time.toMilliseconds());
12
+ }), abortSignal);
13
+ }
14
+ finally {
15
+ if (timeoutId === null) {
16
+ clearTimeout(timeoutId);
17
+ }
18
+ }
19
+ }
20
+ //# sourceMappingURL=delay.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delay.js","sourceRoot":"","sources":["../../../../../src/async/utilities/delay/delay.ts"],"names":[],"mappings":";;AA2BA,sBAuBC;AAvCD,6DAA+D;AAgBxD,KAAK,UAAU,KAAK,CACvB,IAAc,EACd,cAA2B,IAAI,eAAe,EAAE,CAAC,MAAM;IAGvD,IAAI,SAAS,GAAQ,IAAI,CAAC;IAC1B,IAAI,CAAC;QAED,OAAO,IAAA,sBAAY,EACf,GAAG,EAAE,CACD,IAAI,OAAO,CAAO,CAAC,OAAO,EAAE,EAAE;YAC1B,SAAS,GAAG,UAAU,CAAC,GAAG,EAAE;gBACxB,OAAO,EAAE,CAAC;YACd,CAAC,EAAE,IAAI,CAAC,cAAc,EAAE,CAAC,CAAC;QAC9B,CAAC,CAAC,EACN,WAAW,CACd,CAAC;IACN,CAAC;YAAS,CAAC;QACP,IAAI,SAAS,KAAK,IAAI,EAAE,CAAC;YAErB,YAAY,CAAC,SAAS,CAAC,CAAC;QAC5B,CAAC;IACL,CAAC;AACL,CAAC"}
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("../../../utilities/async/lazy-promise/lazy-promise"), exports);
17
+ __exportStar(require("../../../async/utilities/lazy-promise/lazy-promise"), exports);
18
18
  //# sourceMappingURL=_module.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../../../src/async/utilities/lazy-promise/_module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8EAA4D"}
@@ -0,0 +1,110 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LazyPromise = void 0;
4
+ const _module_1 = require("../../../async/utilities/retry/_module");
5
+ const _module_2 = require("../../../async/utilities/timeout/_module");
6
+ const _module_3 = require("../../../async/utilities/abort/_module");
7
+ class LazyPromise {
8
+ asyncFn;
9
+ static wrapFn(fn, settings) {
10
+ return (...parameters) => new LazyPromise(() => fn(...parameters), settings);
11
+ }
12
+ static all(promises, settings) {
13
+ return new LazyPromise(async () => Promise.all(promises), settings);
14
+ }
15
+ static allSettled(promises, settings) {
16
+ return new LazyPromise(async () => Promise.allSettled(promises), settings);
17
+ }
18
+ static race(promises, settings) {
19
+ return new LazyPromise(async () => Promise.race(promises), settings);
20
+ }
21
+ static any(promises, settings) {
22
+ return new LazyPromise(async () => Promise.any(promises), settings);
23
+ }
24
+ promise = null;
25
+ attempts = null;
26
+ backoffPolicy_ = null;
27
+ retryPolicy_ = null;
28
+ abortSignal = null;
29
+ time = null;
30
+ constructor(asyncFn, settings = {}) {
31
+ this.asyncFn = asyncFn;
32
+ const { retryAttempts = null, backoffPolicy = null, retryPolicy = null, abortSignal = null, time = null, } = settings;
33
+ this.attempts = retryAttempts;
34
+ this.backoffPolicy_ = backoffPolicy;
35
+ this.retryPolicy_ = retryPolicy;
36
+ this.abortSignal = abortSignal;
37
+ this.time = time;
38
+ }
39
+ applyTimeout() {
40
+ if (this.time !== null) {
41
+ this.asyncFn = () => {
42
+ if (this.time === null) {
43
+ throw new Error(`LazyPromise["time"] field is null`);
44
+ }
45
+ return (0, _module_2.timeoutAndFail)(this.asyncFn, this.time);
46
+ };
47
+ }
48
+ }
49
+ applyRetry() {
50
+ if (this.attempts !== null && this.attempts > 1) {
51
+ this.asyncFn = () => {
52
+ if (this.attempts === null) {
53
+ throw new Error(`LazyPromise["attempts"] field is null`);
54
+ }
55
+ return (0, _module_1.retryOrFail)(this.asyncFn, {
56
+ backoffPolicy: this.backoffPolicy_ ?? undefined,
57
+ retryPolicy: this.retryPolicy_ ?? undefined,
58
+ maxAttempts: this.attempts,
59
+ });
60
+ };
61
+ }
62
+ }
63
+ applyAbort() {
64
+ if (this.abortSignal !== null) {
65
+ this.asyncFn = () => {
66
+ if (this.abortSignal === null) {
67
+ throw new Error(`LazyPromise["abortSignal"] field is null`);
68
+ }
69
+ return (0, _module_3.abortAndFail)(this.asyncFn, this.abortSignal);
70
+ };
71
+ }
72
+ }
73
+ applySettings() {
74
+ this.applyTimeout();
75
+ this.applyRetry();
76
+ this.applyAbort();
77
+ }
78
+ then(onfulfilled, onrejected) {
79
+ this.applySettings();
80
+ if (this.promise === null) {
81
+ this.promise = this.asyncFn();
82
+ }
83
+ return this.promise.then(onfulfilled, onrejected);
84
+ }
85
+ retryAttempts(attempts) {
86
+ this.attempts = attempts;
87
+ return this;
88
+ }
89
+ backoffPolicy(policy) {
90
+ this.backoffPolicy_ = policy;
91
+ return this;
92
+ }
93
+ retryPolicy(policy) {
94
+ this.retryPolicy_ = policy;
95
+ return this;
96
+ }
97
+ timeout(time) {
98
+ this.time = time;
99
+ return this;
100
+ }
101
+ abort(abortSignal) {
102
+ this.abortSignal = abortSignal;
103
+ return this;
104
+ }
105
+ defer() {
106
+ this.then();
107
+ }
108
+ }
109
+ exports.LazyPromise = LazyPromise;
110
+ //# sourceMappingURL=lazy-promise.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lazy-promise.js","sourceRoot":"","sources":["../../../../../src/async/utilities/lazy-promise/lazy-promise.ts"],"names":[],"mappings":";;;AAOA,6DAA8D;AAC9D,+DAAmE;AACnE,6DAA+D;AAsD/D,MAAa,WAAW;IA4ER;IA3DZ,MAAM,CAAC,MAAM,CACT,EAA2C,EAC3C,QAA8B;QAE9B,OAAO,CAAC,GAAG,UAAU,EAAE,EAAE,CACrB,IAAI,WAAW,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,GAAG,UAAU,CAAC,EAAE,QAAQ,CAAC,CAAC;IAC3D,CAAC;IAKD,MAAM,CAAC,GAAG,CACN,QAA+B,EAC/B,QAA8B;QAE9B,OAAO,IAAI,WAAW,CAAC,KAAK,IAAI,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,QAAQ,CAAC,CAAC;IACxE,CAAC;IAKD,MAAM,CAAC,UAAU,CACb,QAA+B,EAC/B,QAA8B;QAE9B,OAAO,IAAI,WAAW,CAClB,KAAK,IAAI,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,EACxC,QAAQ,CACX,CAAC;IACN,CAAC;IAKD,MAAM,CAAC,IAAI,CACP,QAA+B,EAC/B,QAA8B;QAE9B,OAAO,IAAI,WAAW,CAAC,KAAK,IAAI,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,QAAQ,CAAC,CAAC;IACzE,CAAC;IAKD,MAAM,CAAC,GAAG,CACN,QAA+B,EAC/B,QAA8B;QAE9B,OAAO,IAAI,WAAW,CAAC,KAAK,IAAI,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,QAAQ,CAAC,CAAC;IACxE,CAAC;IAEO,OAAO,GAA+B,IAAI,CAAC;IAC3C,QAAQ,GAAkB,IAAI,CAAC;IAC/B,cAAc,GAAyB,IAAI,CAAC;IAC5C,YAAY,GAAuB,IAAI,CAAC;IACxC,WAAW,GAAuB,IAAI,CAAC;IACvC,IAAI,GAAoB,IAAI,CAAC;IAErC,YACY,OAAkC,EAC1C,WAAgC,EAAE;QAD1B,YAAO,GAAP,OAAO,CAA2B;QAG1C,MAAM,EACF,aAAa,GAAG,IAAI,EACpB,aAAa,GAAG,IAAI,EACpB,WAAW,GAAG,IAAI,EAClB,WAAW,GAAG,IAAI,EAClB,IAAI,GAAG,IAAI,GACd,GAAG,QAAQ,CAAC;QACb,IAAI,CAAC,QAAQ,GAAG,aAAa,CAAC;QAC9B,IAAI,CAAC,cAAc,GAAG,aAAa,CAAC;QACpC,IAAI,CAAC,YAAY,GAAG,WAAW,CAAC;QAChC,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACrB,CAAC;IAEO,YAAY;QAChB,IAAI,IAAI,CAAC,IAAI,KAAK,IAAI,EAAE,CAAC;YACrB,IAAI,CAAC,OAAO,GAAG,GAAG,EAAE;gBAChB,IAAI,IAAI,CAAC,IAAI,KAAK,IAAI,EAAE,CAAC;oBACrB,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;gBACzD,CAAC;gBACD,OAAO,IAAA,wBAAc,EAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;YACnD,CAAC,CAAC;QACN,CAAC;IACL,CAAC;IAEO,UAAU;QACd,IAAI,IAAI,CAAC,QAAQ,KAAK,IAAI,IAAI,IAAI,CAAC,QAAQ,GAAG,CAAC,EAAE,CAAC;YAC9C,IAAI,CAAC,OAAO,GAAG,GAAG,EAAE;gBAChB,IAAI,IAAI,CAAC,QAAQ,KAAK,IAAI,EAAE,CAAC;oBACzB,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;gBAC7D,CAAC;gBACD,OAAO,IAAA,qBAAW,EAAC,IAAI,CAAC,OAAO,EAAE;oBAC7B,aAAa,EAAE,IAAI,CAAC,cAAc,IAAI,SAAS;oBAC/C,WAAW,EAAE,IAAI,CAAC,YAAY,IAAI,SAAS;oBAC3C,WAAW,EAAE,IAAI,CAAC,QAAQ;iBAC7B,CAAC,CAAC;YACP,CAAC,CAAC;QACN,CAAC;IACL,CAAC;IAEO,UAAU;QACd,IAAI,IAAI,CAAC,WAAW,KAAK,IAAI,EAAE,CAAC;YAC5B,IAAI,CAAC,OAAO,GAAG,GAAG,EAAE;gBAChB,IAAI,IAAI,CAAC,WAAW,KAAK,IAAI,EAAE,CAAC;oBAC5B,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;gBAChE,CAAC;gBACD,OAAO,IAAA,sBAAY,EAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC;YACxD,CAAC,CAAC;QACN,CAAC;IACL,CAAC;IAEO,aAAa;QACjB,IAAI,CAAC,YAAY,EAAE,CAAC;QACpB,IAAI,CAAC,UAAU,EAAE,CAAC;QAClB,IAAI,CAAC,UAAU,EAAE,CAAC;IACtB,CAAC;IAOD,IAAI,CACA,WAEU,EAEV,UAAuE;QAEvE,IAAI,CAAC,aAAa,EAAE,CAAC;QAErB,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;IAoBD,aAAa,CAAC,QAAgB;QAC1B,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,OAAO,IAAI,CAAC;IAChB,CAAC;IAqBD,aAAa,CAAC,MAAqB;QAC/B,IAAI,CAAC,cAAc,GAAG,MAAM,CAAC;QAC7B,OAAO,IAAI,CAAC;IAChB,CAAC;IAwBD,WAAW,CAAC,MAAmB;QAC3B,IAAI,CAAC,YAAY,GAAG,MAAM,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAmBD,OAAO,CAAC,IAAc;QAClB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAuBD,KAAK,CAAC,WAAwB;QAC1B,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,OAAO,IAAI,CAAC;IAChB,CAAC;IAmBD,KAAK;QACD,IAAI,CAAC,IAAI,EAAE,CAAC;IAChB,CAAC;CACJ;AA3SD,kCA2SC"}
@@ -0,0 +1,19 @@
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/utilities/retry/retry-or-fail"), exports);
18
+ __exportStar(require("../../../async/utilities/retry/retry"), exports);
19
+ //# sourceMappingURL=_module.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../../../src/async/utilities/retry/_module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wEAAsD;AACtD,gEAA8C"}
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.retryOrFail = retryOrFail;
4
+ const _module_1 = require("../../../async/utilities/delay/_module");
5
+ const async_errors_1 = require("../../../async/async.errors");
6
+ const _module_2 = require("../../../async/backof-policies/_module");
7
+ const _module_3 = require("../../../utilities/_module");
8
+ async function retryOrFail(asyncFn, settings = {}) {
9
+ const { maxAttempts = 4, backoffPolicy = (0, _module_2.exponentialBackoffPolicy)(), retryPolicy = () => true, } = settings;
10
+ let error_;
11
+ for (let attempt = 1; attempt <= maxAttempts; attempt++) {
12
+ try {
13
+ return await asyncFn();
14
+ }
15
+ catch (error) {
16
+ error_ = error;
17
+ if (error instanceof async_errors_1.AbortAsyncError) {
18
+ throw error;
19
+ }
20
+ if (!retryPolicy(error)) {
21
+ throw error;
22
+ }
23
+ const time = backoffPolicy(attempt, error);
24
+ await (0, _module_1.delay)(_module_3.TimeSpan.fromMilliseconds(time));
25
+ }
26
+ }
27
+ let errorMessage = `Promise was failed after retried ${String(maxAttempts)} times`;
28
+ if (error_) {
29
+ errorMessage = `${errorMessage} and last thrown error was "${String(error_)}"`;
30
+ }
31
+ throw new async_errors_1.RetryAsyncError(errorMessage, {
32
+ cause: error_,
33
+ maxAttempts,
34
+ });
35
+ }
36
+ //# sourceMappingURL=retry-or-fail.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"retry-or-fail.js","sourceRoot":"","sources":["../../../../../src/async/utilities/retry/retry-or-fail.ts"],"names":[],"mappings":";;AA8BA,kCAkCC;AA5DD,6DAAwD;AACxD,uDAAwE;AACxE,6DAA2E;AAC3E,iDAA+C;AAuBxC,KAAK,UAAU,WAAW,CAC7B,OAAkC,EAClC,WAA0B,EAAE;IAE5B,MAAM,EACF,WAAW,GAAG,CAAC,EACf,aAAa,GAAG,IAAA,kCAAwB,GAAE,EAC1C,WAAW,GAAG,GAAG,EAAE,CAAC,IAAI,GAC3B,GAAG,QAAQ,CAAC;IACb,IAAI,MAAe,CAAC;IACpB,KAAK,IAAI,OAAO,GAAG,CAAC,EAAE,OAAO,IAAI,WAAW,EAAE,OAAO,EAAE,EAAE,CAAC;QACtD,IAAI,CAAC;YACD,OAAO,MAAM,OAAO,EAAE,CAAC;QAC3B,CAAC;QAAC,OAAO,KAAc,EAAE,CAAC;YACtB,MAAM,GAAG,KAAK,CAAC;YACf,IAAI,KAAK,YAAY,8BAAe,EAAE,CAAC;gBACnC,MAAM,KAAK,CAAC;YAChB,CAAC;YACD,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,EAAE,CAAC;gBACtB,MAAM,KAAK,CAAC;YAChB,CAAC;YACD,MAAM,IAAI,GAAG,aAAa,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;YAC3C,MAAM,IAAA,eAAK,EAAC,kBAAQ,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,CAAC;QACjD,CAAC;IACL,CAAC;IAED,IAAI,YAAY,GAAG,oCAAoC,MAAM,CAAC,WAAW,CAAC,QAAQ,CAAC;IACnF,IAAI,MAAM,EAAE,CAAC;QACT,YAAY,GAAG,GAAG,YAAY,+BAA+B,MAAM,CAAC,MAAiB,CAAC,GAAG,CAAC;IAC9F,CAAC;IACD,MAAM,IAAI,8BAAe,CAAC,YAAY,EAAE;QACpC,KAAK,EAAE,MAAM;QACb,WAAW;KACd,CAAC,CAAC;AACP,CAAC"}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.retry = retry;
4
+ const async_errors_1 = require("../../../async/async.errors");
5
+ const retry_or_fail_1 = require("../../../async/utilities/retry/retry-or-fail");
6
+ async function retry(asyncFn, settings = {}) {
7
+ try {
8
+ const value = await (0, retry_or_fail_1.retryOrFail)(asyncFn, settings);
9
+ return [value, null];
10
+ }
11
+ catch (error) {
12
+ if (error instanceof async_errors_1.RetryAsyncError) {
13
+ return [null, error];
14
+ }
15
+ throw error;
16
+ }
17
+ }
18
+ //# sourceMappingURL=retry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"retry.js","sourceRoot":"","sources":["../../../../../src/async/utilities/retry/retry.ts"],"names":[],"mappings":";;AAYA,sBAaC;AArBD,uDAAuD;AAGvD,yEAAoE;AAK7D,KAAK,UAAU,KAAK,CACvB,OAAkC,EAClC,WAA0B,EAAE;IAE5B,IAAI,CAAC;QACD,MAAM,KAAK,GAAG,MAAM,IAAA,2BAAW,EAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;QACnD,OAAO,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IACzB,CAAC;IAAC,OAAO,KAAc,EAAE,CAAC;QACtB,IAAI,KAAK,YAAY,8BAAe,EAAE,CAAC;YACnC,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;QACzB,CAAC;QACD,MAAM,KAAK,CAAC;IAChB,CAAC;AACL,CAAC"}
@@ -14,5 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("../../../utilities/async/timeout/timeout"), exports);
17
+ __exportStar(require("../../../async/utilities/timeout/timeout-and-fail"), exports);
18
+ __exportStar(require("../../../async/utilities/timeout/timeout"), exports);
18
19
  //# sourceMappingURL=_module.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../../../src/async/utilities/timeout/_module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6EAA2D;AAC3D,oEAAkD"}