@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
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.timeoutAndFail = timeoutAndFail;
4
+ const async_errors_1 = require("../../../async/async.errors");
5
+ const _module_1 = require("../../../async/utilities/abort/_module");
6
+ async function timeoutAndFail(asyncFn, time) {
7
+ const timeoutController = new AbortController();
8
+ const timeoutId = setTimeout(() => {
9
+ timeoutController.abort(new async_errors_1.TimeoutAsyncError("The promise exceded time"));
10
+ }, time.toMilliseconds());
11
+ try {
12
+ return await (0, _module_1.abortAndFail)(asyncFn, timeoutController.signal);
13
+ }
14
+ catch (error) {
15
+ if (error instanceof async_errors_1.AbortAsyncError &&
16
+ error.cause instanceof async_errors_1.TimeoutAsyncError) {
17
+ throw error.cause;
18
+ }
19
+ throw error;
20
+ }
21
+ finally {
22
+ clearTimeout(timeoutId);
23
+ }
24
+ }
25
+ //# sourceMappingURL=timeout-and-fail.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"timeout-and-fail.js","sourceRoot":"","sources":["../../../../../src/async/utilities/timeout/timeout-and-fail.ts"],"names":[],"mappings":";;AAUA,wCAuBC;AA9BD,uDAA0E;AAE1E,6DAA+D;AAKxD,KAAK,UAAU,cAAc,CAChC,OAAkC,EAClC,IAAc;IAEd,MAAM,iBAAiB,GAAG,IAAI,eAAe,EAAE,CAAC;IAChD,MAAM,SAAS,GAAG,UAAU,CAAC,GAAG,EAAE;QAC9B,iBAAiB,CAAC,KAAK,CACnB,IAAI,gCAAiB,CAAC,0BAA0B,CAAC,CACpD,CAAC;IACN,CAAC,EAAE,IAAI,CAAC,cAAc,EAAE,CAAC,CAAC;IAC1B,IAAI,CAAC;QACD,OAAO,MAAM,IAAA,sBAAY,EAAC,OAAO,EAAE,iBAAiB,CAAC,MAAM,CAAC,CAAC;IACjE,CAAC;IAAC,OAAO,KAAc,EAAE,CAAC;QACtB,IACI,KAAK,YAAY,8BAAe;YAChC,KAAK,CAAC,KAAK,YAAY,gCAAiB,EAC1C,CAAC;YACC,MAAM,KAAK,CAAC,KAAK,CAAC;QACtB,CAAC;QACD,MAAM,KAAK,CAAC;IAChB,CAAC;YAAS,CAAC;QACP,YAAY,CAAC,SAAS,CAAC,CAAC;IAC5B,CAAC;AACL,CAAC"}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.timeout = timeout;
4
+ const async_errors_1 = require("../../../async/async.errors");
5
+ const timeout_and_fail_1 = require("../../../async/utilities/timeout/timeout-and-fail");
6
+ async function timeout(asyncFn, time) {
7
+ try {
8
+ const value = await (0, timeout_and_fail_1.timeoutAndFail)(asyncFn, time);
9
+ return [value, null];
10
+ }
11
+ catch (error) {
12
+ if (error instanceof async_errors_1.TimeoutAsyncError) {
13
+ return [null, error];
14
+ }
15
+ throw error;
16
+ }
17
+ }
18
+ //# sourceMappingURL=timeout.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"timeout.js","sourceRoot":"","sources":["../../../../../src/async/utilities/timeout/timeout.ts"],"names":[],"mappings":";;AAWA,0BAaC;AArBD,uDAAyD;AAGzD,iFAA4E;AAKrE,KAAK,UAAU,OAAO,CACzB,OAAkC,EAClC,IAAc;IAEd,IAAI,CAAC;QACD,MAAM,KAAK,GAAG,MAAM,IAAA,iCAAc,EAAC,OAAO,EAAE,IAAI,CAAC,CAAC;QAClD,OAAO,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IACzB,CAAC;IAAC,OAAO,KAAc,EAAE,CAAC;QACtB,IAAI,KAAK,YAAY,gCAAiB,EAAE,CAAC;YACrC,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;QACzB,CAAC;QACD,MAAM,KAAK,CAAC;IAChB,CAAC;AACL,CAAC"}
@@ -1,14 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CACHE_EVENTS = void 0;
4
- exports.CACHE_EVENTS = {
5
- KEY_FOUND: "key_found",
6
- KEY_NOT_FOUND: "key_not_found",
7
- KEY_ADDED: "key_added",
8
- KEY_UPDATED: "key_updated",
9
- KEY_REMOVED: "key_removed",
10
- KEYS_CLEARED: "keys_cleared",
11
- KEY_INCREMENTED: "key_incremented",
12
- KEY_DECREMENTED: "key_decremented",
13
- };
14
3
  //# sourceMappingURL=cache.events.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"cache.events.js","sourceRoot":"","sources":["../../../../src/cache/contracts/cache.events.ts"],"names":[],"mappings":";;;AAaa,QAAA,YAAY,GAAG;IACxB,SAAS,EAAE,WAAW;IACtB,aAAa,EAAE,eAAe;IAC9B,SAAS,EAAE,WAAW;IACtB,WAAW,EAAE,aAAa;IAC1B,WAAW,EAAE,aAAa;IAC1B,YAAY,EAAE,cAAc;IAC5B,eAAe,EAAE,iBAAiB;IAClC,eAAe,EAAE,iBAAiB;CAC5B,CAAC"}
1
+ {"version":3,"file":"cache.events.js","sourceRoot":"","sources":["../../../../src/cache/contracts/cache.events.ts"],"names":[],"mappings":""}
@@ -3,189 +3,269 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.cacheAdapterTestSuite = cacheAdapterTestSuite;
4
4
  const _module_1 = require("../../../cache/contracts/_module");
5
5
  const _module_2 = require("../../../utilities/_module");
6
+ const _module_3 = require("../../../async/_module");
6
7
  function cacheAdapterTestSuite(settings) {
7
- const { expect, test, createAdapter, describe, beforeEach } = settings;
8
- let cacheAdapter;
8
+ const { expect, test, createAdapterA, createAdapterB, describe, beforeEach, } = settings;
9
+ let cacheAdapterA;
10
+ let cacheAdapterB;
9
11
  beforeEach(async () => {
10
- cacheAdapter = await createAdapter();
12
+ cacheAdapterA = await createAdapterA();
13
+ cacheAdapterB = await createAdapterB();
11
14
  });
12
- const TTL = _module_2.TimeSpan.fromMilliseconds(50);
13
- describe("method: get", () => {
14
- test("Should return the value when key exists", async () => {
15
- await cacheAdapter.add("a", 1, null);
16
- expect(await cacheAdapter.get("a")).toBe(1);
17
- });
18
- test("Should return null when keys doesnt exists", async () => {
19
- expect(await cacheAdapter.get("a")).toBeNull();
20
- });
21
- test("Should return null when key is experied", async () => {
22
- await cacheAdapter.add("a", 1, TTL);
23
- await (0, _module_2.delay)(TTL);
24
- expect(await cacheAdapter.get("a")).toBeNull();
25
- });
26
- });
27
- describe("method: add", () => {
28
- test("Should return true when key doesnt exists", async () => {
29
- expect(await cacheAdapter.add("a", 1, null)).toBe(true);
30
- });
31
- test("Should return true when key is expired", async () => {
32
- await cacheAdapter.add("a", 1, TTL);
33
- await (0, _module_2.delay)(TTL);
34
- expect(await cacheAdapter.add("a", 1, null)).toBe(true);
35
- });
36
- test("Should persist values when key doesnt exist", async () => {
37
- await cacheAdapter.add("a", 1, null);
38
- expect(await cacheAdapter.get("a")).toBe(1);
39
- });
40
- test("Should persist values when key is expired", async () => {
41
- await cacheAdapter.add("a", -1, TTL);
42
- await (0, _module_2.delay)(TTL);
43
- await cacheAdapter.add("a", 1, null);
44
- expect(await cacheAdapter.get("a")).toBe(1);
45
- });
46
- test("Should return false when key exists", async () => {
47
- await cacheAdapter.add("a", 1, null);
48
- expect(await cacheAdapter.add("a", 1, null)).toBe(false);
49
- });
50
- test("Should not persist value when key exist", async () => {
51
- await cacheAdapter.add("a", 1, null);
52
- await cacheAdapter.add("a", 2, null);
53
- expect(await cacheAdapter.get("a")).toBe(1);
54
- });
55
- });
56
- describe("method: update", () => {
57
- test("Should return true when key exists", async () => {
58
- await cacheAdapter.add("a", 1, null);
59
- expect(await cacheAdapter.update("a", -1)).toBe(true);
60
- });
61
- test("Should persist value when key exist", async () => {
62
- await cacheAdapter.add("a", 1, null);
63
- await cacheAdapter.update("a", -1);
64
- expect(await cacheAdapter.get("a")).toBe(-1);
65
- });
66
- test("Should return false when key doesnt exists", async () => {
67
- expect(await cacheAdapter.update("a", -1)).toBe(false);
68
- });
69
- test("Should return false when key is expired", async () => {
70
- await cacheAdapter.add("a", 1, TTL);
71
- await (0, _module_2.delay)(TTL);
72
- expect(await cacheAdapter.update("a", -1)).toBe(false);
73
- });
74
- test("Should not persist value when key doesnt exist", async () => {
75
- await cacheAdapter.update("a", -1);
76
- expect(await cacheAdapter.get("a")).toBeNull();
77
- });
78
- test("Should not persist value when key is expired", async () => {
79
- await cacheAdapter.add("a", 1, TTL);
80
- await (0, _module_2.delay)(TTL);
81
- await cacheAdapter.update("a", -1);
82
- expect(await cacheAdapter.get("a")).toBeNull();
83
- });
84
- });
85
- describe("method: put", () => {
86
- test("Should return only true when key exists", async () => {
87
- await cacheAdapter.add("a", 1, null);
88
- expect(await cacheAdapter.put("a", -1, null)).toBe(true);
89
- });
90
- test("Should persist value when key exist", async () => {
91
- await cacheAdapter.add("a", 1, null);
92
- await cacheAdapter.put("a", -1, null);
93
- expect(await cacheAdapter.get("a")).toBe(-1);
94
- });
95
- test("Should return false when key doesnt exists", async () => {
96
- expect(await cacheAdapter.put("a", -1, null)).toBe(false);
97
- });
98
- test("Should return false when key is expired", async () => {
99
- await cacheAdapter.add("a", 1, TTL);
100
- await (0, _module_2.delay)(TTL);
101
- expect(await cacheAdapter.put("a", -1, null)).toBe(false);
102
- });
103
- test("Should persist values when key doesnt exist", async () => {
104
- await cacheAdapter.put("a", -1, null);
105
- expect(await cacheAdapter.get("a")).toBe(-1);
106
- });
107
- test("Should persist values when key is expired", async () => {
108
- await cacheAdapter.add("a", 1, TTL);
109
- await (0, _module_2.delay)(TTL);
110
- await cacheAdapter.put("a", -1, null);
111
- expect(await cacheAdapter.get("a")).toBe(-1);
112
- });
113
- });
114
- describe("method: remove", () => {
115
- test("Should return only true when key exists", async () => {
116
- await cacheAdapter.add("a", 1, null);
117
- expect(await cacheAdapter.remove("a")).toBe(true);
118
- });
119
- test("Should persist removal when key exist", async () => {
120
- await cacheAdapter.add("a", 1, null);
121
- await cacheAdapter.remove("a");
122
- expect(await cacheAdapter.get("a")).toBeNull();
123
- });
124
- test("Should persist removal when key is expired", async () => {
125
- await cacheAdapter.add("a", 1, TTL);
126
- await (0, _module_2.delay)(TTL);
127
- await cacheAdapter.remove("a");
128
- expect(await cacheAdapter.get("a")).toBeNull();
129
- });
130
- test("Should return false when key doesnt exists", async () => {
131
- expect(await cacheAdapter.remove("a")).toBe(false);
132
- });
133
- test("Should return false when key is expired", async () => {
134
- await cacheAdapter.add("a", 1, TTL);
135
- await (0, _module_2.delay)(TTL);
136
- expect(await cacheAdapter.remove("a")).toBe(false);
137
- });
138
- });
139
- describe("method: increment", () => {
140
- test("Should return true when key exists", async () => {
141
- await cacheAdapter.add("a", 1, null);
142
- expect(await cacheAdapter.increment("a", 1)).toBe(true);
143
- });
144
- test("Should persist increment when key exists", async () => {
145
- await cacheAdapter.add("a", 1, null);
146
- await cacheAdapter.increment("a", 1);
147
- expect(await cacheAdapter.get("a")).toBe(2);
148
- });
149
- test("Should return false when key doesnt exists", async () => {
150
- expect(await cacheAdapter.increment("a", 1)).toBe(false);
151
- });
152
- test("Should return false when key is expired", async () => {
153
- await cacheAdapter.add("a", 1, TTL);
154
- await (0, _module_2.delay)(TTL);
155
- expect(await cacheAdapter.increment("a", 1)).toBe(false);
156
- });
157
- test("Should not persist increment when key doesnt exists", async () => {
158
- await cacheAdapter.increment("a", 1);
159
- expect(await cacheAdapter.get("a")).toBeNull();
160
- });
161
- test("Should not persist increment when key is expired", async () => {
162
- await cacheAdapter.add("a", 1, TTL);
163
- await (0, _module_2.delay)(TTL);
164
- await cacheAdapter.increment("a", 1);
165
- expect(await cacheAdapter.get("a")).toBeNull();
166
- });
167
- test("Should throw TypeCacheError key value is not number type", async () => {
168
- await cacheAdapter.add("a", "str", null);
169
- await expect(cacheAdapter.increment("a", 1)).rejects.toBeInstanceOf(_module_1.TypeCacheError);
15
+ describe("Api tests::", () => {
16
+ const TTL = _module_2.TimeSpan.fromMilliseconds(50);
17
+ describe("method: exists", () => {
18
+ test("Should return the value when key exists", async () => {
19
+ await cacheAdapterA.add("a", 1, null);
20
+ expect(await cacheAdapterA.exists("a")).toBe(true);
21
+ });
22
+ test("Should return null when keys doesnt exists", async () => {
23
+ expect(await cacheAdapterA.exists("a")).toBe(false);
24
+ });
25
+ test("Should return null when key is experied", async () => {
26
+ await cacheAdapterA.add("a", 1, TTL);
27
+ await (0, _module_3.delay)(TTL);
28
+ expect(await cacheAdapterA.exists("a")).toBe(false);
29
+ });
30
+ });
31
+ describe("method: get", () => {
32
+ test("Should return the value when key exists", async () => {
33
+ await cacheAdapterA.add("a", 1, null);
34
+ expect(await cacheAdapterA.get("a")).toBe(1);
35
+ });
36
+ test("Should return null when keys doesnt exists", async () => {
37
+ expect(await cacheAdapterA.get("a")).toBeNull();
38
+ });
39
+ test("Should return null when key is experied", async () => {
40
+ await cacheAdapterA.add("a", 1, TTL);
41
+ await (0, _module_3.delay)(TTL);
42
+ expect(await cacheAdapterA.get("a")).toBeNull();
43
+ });
44
+ });
45
+ describe("method: add", () => {
46
+ test("Should return true when key doesnt exists", async () => {
47
+ expect(await cacheAdapterA.add("a", 1, null)).toBe(true);
48
+ });
49
+ test("Should return true when key is expired", async () => {
50
+ await cacheAdapterA.add("a", 1, TTL);
51
+ await (0, _module_3.delay)(TTL);
52
+ expect(await cacheAdapterA.add("a", 1, null)).toBe(true);
53
+ });
54
+ test("Should persist values when key doesnt exist", async () => {
55
+ await cacheAdapterA.add("a", 1, null);
56
+ expect(await cacheAdapterA.get("a")).toBe(1);
57
+ });
58
+ test("Should persist values when key is expired", async () => {
59
+ await cacheAdapterA.add("a", -1, TTL);
60
+ await (0, _module_3.delay)(TTL);
61
+ await cacheAdapterA.add("a", 1, null);
62
+ expect(await cacheAdapterA.get("a")).toBe(1);
63
+ });
64
+ test("Should return false when key exists", async () => {
65
+ await cacheAdapterA.add("a", 1, null);
66
+ expect(await cacheAdapterA.add("a", 1, null)).toBe(false);
67
+ });
68
+ test("Should not persist value when key exist", async () => {
69
+ await cacheAdapterA.add("a", 1, null);
70
+ await cacheAdapterA.add("a", 2, null);
71
+ expect(await cacheAdapterA.get("a")).toBe(1);
72
+ });
73
+ });
74
+ describe("method: update", () => {
75
+ test("Should return true when key exists", async () => {
76
+ await cacheAdapterA.add("a", 1, null);
77
+ expect(await cacheAdapterA.update("a", -1)).toBe(true);
78
+ });
79
+ test("Should persist value when key exist", async () => {
80
+ await cacheAdapterA.add("a", 1, null);
81
+ await cacheAdapterA.update("a", -1);
82
+ expect(await cacheAdapterA.get("a")).toBe(-1);
83
+ });
84
+ test("Should return false when key doesnt exists", async () => {
85
+ expect(await cacheAdapterA.update("a", -1)).toBe(false);
86
+ });
87
+ test("Should return false when key is expired", async () => {
88
+ await cacheAdapterA.add("a", 1, TTL);
89
+ await (0, _module_3.delay)(TTL);
90
+ expect(await cacheAdapterA.update("a", -1)).toBe(false);
91
+ });
92
+ test("Should not persist value when key doesnt exist", async () => {
93
+ await cacheAdapterA.update("a", -1);
94
+ expect(await cacheAdapterA.get("a")).toBeNull();
95
+ });
96
+ test("Should not persist value when key is expired", async () => {
97
+ await cacheAdapterA.add("a", 1, TTL);
98
+ await (0, _module_3.delay)(TTL);
99
+ await cacheAdapterA.update("a", -1);
100
+ expect(await cacheAdapterA.get("a")).toBeNull();
101
+ });
102
+ });
103
+ describe("method: put", () => {
104
+ test("Should return only true when key exists", async () => {
105
+ await cacheAdapterA.add("a", 1, null);
106
+ expect(await cacheAdapterA.put("a", -1, null)).toBe(true);
107
+ });
108
+ test("Should persist value when key exist", async () => {
109
+ await cacheAdapterA.add("a", 1, null);
110
+ await cacheAdapterA.put("a", -1, null);
111
+ expect(await cacheAdapterA.get("a")).toBe(-1);
112
+ });
113
+ test("Should return false when key doesnt exists", async () => {
114
+ expect(await cacheAdapterA.put("a", -1, null)).toBe(false);
115
+ });
116
+ test("Should return false when key is expired", async () => {
117
+ await cacheAdapterA.add("a", 1, TTL);
118
+ await (0, _module_3.delay)(TTL);
119
+ expect(await cacheAdapterA.put("a", -1, null)).toBe(false);
120
+ });
121
+ test("Should persist values when key doesnt exist", async () => {
122
+ await cacheAdapterA.put("a", -1, null);
123
+ expect(await cacheAdapterA.get("a")).toBe(-1);
124
+ });
125
+ test("Should persist values when key is expired", async () => {
126
+ await cacheAdapterA.add("a", 1, TTL);
127
+ await (0, _module_3.delay)(TTL);
128
+ await cacheAdapterA.put("a", -1, null);
129
+ expect(await cacheAdapterA.get("a")).toBe(-1);
130
+ });
131
+ test("Should replace the ttl value", async () => {
132
+ const ttlA = _module_2.TimeSpan.fromMilliseconds(100);
133
+ await cacheAdapterA.add("a", 1, ttlA);
134
+ const ttlB = _module_2.TimeSpan.fromMilliseconds(50);
135
+ await cacheAdapterA.put("a", -1, ttlB);
136
+ await (0, _module_3.delay)(ttlB);
137
+ expect(await cacheAdapterA.get("a")).toBeNull();
138
+ });
139
+ });
140
+ describe("method: remove", () => {
141
+ test("Should return only true when key exists", async () => {
142
+ await cacheAdapterA.add("a", 1, null);
143
+ expect(await cacheAdapterA.remove("a")).toBe(true);
144
+ });
145
+ test("Should persist removal when key exist", async () => {
146
+ await cacheAdapterA.add("a", 1, null);
147
+ await cacheAdapterA.remove("a");
148
+ expect(await cacheAdapterA.get("a")).toBeNull();
149
+ });
150
+ test("Should persist removal when key is expired", async () => {
151
+ await cacheAdapterA.add("a", 1, TTL);
152
+ await (0, _module_3.delay)(TTL);
153
+ await cacheAdapterA.remove("a");
154
+ expect(await cacheAdapterA.get("a")).toBeNull();
155
+ });
156
+ test("Should return false when key doesnt exists", async () => {
157
+ expect(await cacheAdapterA.remove("a")).toBe(false);
158
+ });
159
+ test("Should return false when key is expired", async () => {
160
+ await cacheAdapterA.add("a", 1, TTL);
161
+ await (0, _module_3.delay)(TTL);
162
+ expect(await cacheAdapterA.remove("a")).toBe(false);
163
+ });
164
+ });
165
+ describe("method: increment", () => {
166
+ test("Should return true when key exists", async () => {
167
+ await cacheAdapterA.add("a", 1, null);
168
+ expect(await cacheAdapterA.increment("a", 1)).toBe(true);
169
+ });
170
+ test("Should persist increment when key exists", async () => {
171
+ await cacheAdapterA.add("a", 1, null);
172
+ await cacheAdapterA.increment("a", 1);
173
+ expect(await cacheAdapterA.get("a")).toBe(2);
174
+ });
175
+ test("Should return false when key doesnt exists", async () => {
176
+ expect(await cacheAdapterA.increment("a", 1)).toBe(false);
177
+ });
178
+ test("Should return false when key is expired", async () => {
179
+ await cacheAdapterA.add("a", 1, TTL);
180
+ await (0, _module_3.delay)(TTL);
181
+ expect(await cacheAdapterA.increment("a", 1)).toBe(false);
182
+ });
183
+ test("Should not persist increment when key doesnt exists", async () => {
184
+ await cacheAdapterA.increment("a", 1);
185
+ expect(await cacheAdapterA.get("a")).toBeNull();
186
+ });
187
+ test("Should not persist increment when key is expired", async () => {
188
+ await cacheAdapterA.add("a", 1, TTL);
189
+ await (0, _module_3.delay)(TTL);
190
+ await cacheAdapterA.increment("a", 1);
191
+ expect(await cacheAdapterA.get("a")).toBeNull();
192
+ });
193
+ test("Should throw TypeCacheError key value is not number type", async () => {
194
+ await cacheAdapterA.add("a", "str", null);
195
+ await expect(cacheAdapterA.increment("a", 1)).rejects.toBeInstanceOf(_module_1.TypeCacheError);
196
+ });
197
+ });
198
+ describe("method: clear", () => {
199
+ test(`Should remove all keys`, async () => {
200
+ await cacheAdapterA.add("a", 1, null);
201
+ await cacheAdapterA.add("b", 2, null);
202
+ await cacheAdapterA.add("c", 3, null);
203
+ await cacheAdapterA.clear();
204
+ expect([
205
+ await cacheAdapterA.get("a"),
206
+ await cacheAdapterA.get("b"),
207
+ await cacheAdapterA.get("c"),
208
+ ]).toEqual([null, null, null]);
209
+ });
170
210
  });
171
211
  });
172
- describe("method: clear", () => {
173
- test(`Should remove all keys that starts with "@a"`, async () => {
174
- await cacheAdapter.add("@a/a", 1, null);
175
- await cacheAdapter.add("@a/b", 2, null);
176
- await cacheAdapter.add("@a/c", 3, null);
177
- await cacheAdapter.add("@b/d", 4, null);
178
- await cacheAdapter.add("@b/e", 5, null);
179
- await cacheAdapter.add("@b/f", 6, null);
180
- await cacheAdapter.clear("@a");
212
+ describe("Group tests", () => {
213
+ test("method: exists", async () => {
214
+ await cacheAdapterA.put("a", 1, null);
215
+ expect(await cacheAdapterA.exists("a")).toBe(true);
216
+ expect(await cacheAdapterB.exists("a")).toBe(false);
217
+ });
218
+ test("method: get", async () => {
219
+ await cacheAdapterA.put("a", 1, null);
220
+ expect(await cacheAdapterA.get("a")).toBe(1);
221
+ expect(await cacheAdapterB.get("a")).toBeNull();
222
+ });
223
+ test("method: add", async () => {
224
+ await cacheAdapterA.add("a", 1, null);
225
+ await cacheAdapterB.add("a", 2, null);
226
+ expect(await cacheAdapterA.get("a")).toBe(1);
227
+ expect(await cacheAdapterB.get("a")).toBe(2);
228
+ });
229
+ test("method: update", async () => {
230
+ await cacheAdapterA.add("a", 1, null);
231
+ await cacheAdapterB.add("a", 1, null);
232
+ await cacheAdapterA.update("a", 2);
233
+ await cacheAdapterB.update("a", 3);
234
+ expect(await cacheAdapterA.get("a")).toBe(2);
235
+ expect(await cacheAdapterB.get("a")).toBe(3);
236
+ });
237
+ test("method: put", async () => {
238
+ await cacheAdapterA.put("a", 2, null);
239
+ await cacheAdapterB.put("a", 3, null);
240
+ expect(await cacheAdapterA.get("a")).toBe(2);
241
+ expect(await cacheAdapterB.get("a")).toBe(3);
242
+ });
243
+ test("method: remove", async () => {
244
+ await cacheAdapterA.add("a", 1, null);
245
+ await cacheAdapterB.add("a", 1, null);
246
+ await cacheAdapterA.remove("a");
247
+ expect(await cacheAdapterA.get("a")).toBeNull();
248
+ expect(await cacheAdapterB.get("a")).toBe(1);
249
+ });
250
+ test("method: increment", async () => {
251
+ await cacheAdapterA.add("a", 1, null);
252
+ await cacheAdapterB.add("a", 1, null);
253
+ await cacheAdapterA.increment("a", 1);
254
+ expect(await cacheAdapterA.get("a")).toBe(2);
255
+ expect(await cacheAdapterB.get("a")).toBe(1);
256
+ });
257
+ test("method: clear", async () => {
258
+ await cacheAdapterA.add("a", 1, null);
259
+ await cacheAdapterA.add("b", 2, null);
260
+ await cacheAdapterB.add("a", 1, null);
261
+ await cacheAdapterB.add("b", 2, null);
262
+ await cacheAdapterA.clear();
181
263
  expect([
182
- await cacheAdapter.get("@a/a"),
183
- await cacheAdapter.get("@a/b"),
184
- await cacheAdapter.get("@a/c"),
185
- await cacheAdapter.get("@b/d"),
186
- await cacheAdapter.get("@b/e"),
187
- await cacheAdapter.get("@b/f"),
188
- ]).toEqual([null, null, null, 4, 5, 6]);
264
+ await cacheAdapterA.get("a"),
265
+ await cacheAdapterA.get("b"),
266
+ await cacheAdapterB.get("a"),
267
+ await cacheAdapterB.get("b"),
268
+ ]).toEqual([null, null, 1, 2]);
189
269
  });
190
270
  });
191
271
  }
@@ -1 +1 @@
1
- {"version":3,"file":"cache-adapter.test-suite.js","sourceRoot":"","sources":["../../../../../src/cache/implementations/_shared/cache-adapter.test-suite.ts"],"names":[],"mappings":";;AA2DA,sDA8LC;AA/OD,uDAA+E;AAE/E,iDAAsD;AA+CtD,SAAgB,qBAAqB,CACjC,QAAuC;IAEvC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,UAAU,EAAE,GAAG,QAAQ,CAAC;IACvE,IAAI,YAAgC,CAAC;IACrC,UAAU,CAAC,KAAK,IAAI,EAAE;QAClB,YAAY,GAAG,MAAM,aAAa,EAAE,CAAC;IACzC,CAAC,CAAC,CAAC;IAEH,MAAM,GAAG,GAAG,kBAAQ,CAAC,gBAAgB,CAAC,EAAE,CAAC,CAAC;IAC1C,QAAQ,CAAC,aAAa,EAAE,GAAG,EAAE;QACzB,IAAI,CAAC,yCAAyC,EAAE,KAAK,IAAI,EAAE;YACvD,MAAM,YAAY,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,EAAE,IAAI,CAAC,CAAC;YACrC,MAAM,CAAC,MAAM,YAAY,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QAChD,CAAC,CAAC,CAAC;QACH,IAAI,CAAC,4CAA4C,EAAE,KAAK,IAAI,EAAE;YAC1D,MAAM,CAAC,MAAM,YAAY,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC;QACnD,CAAC,CAAC,CAAC;QACH,IAAI,CAAC,yCAAyC,EAAE,KAAK,IAAI,EAAE;YACvD,MAAM,YAAY,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,EAAE,GAAG,CAAC,CAAC;YACpC,MAAM,IAAA,e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,MAAM,CAAC;gBAC9B,MAAM,YAAY,CAAC,GAAG,CAAC,MAAM,CAAC;gBAC9B,MAAM,YAAY,CAAC,GAAG,CAAC,MAAM,CAAC;gBAC9B,MAAM,YAAY,CAAC,GAAG,CAAC,MAAM,CAAC;gBAC9B,MAAM,YAAY,CAAC,GAAG,CAAC,MAAM,CAAC;gBAC9B,MAAM,YAAY,CAAC,GAAG,CAAC,MAAM,CAAC;aACjC,CAAC,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;QAC5C,CAAC,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AACP,CAAC"}
1
+ {"version":3,"file":"cache-adapter.test-suite.js","sourceRoot":"","sources":["../../../../../src/cache/implementations/_shared/cache-adapter.test-suite.ts"],"names":[],"mappings":";;AAqEA,sDAqRC;AAhVD,uDAA+E;AAE/E,iDAA+C;AAC/C,6CAAwC;AAwDxC,SAAgB,qBAAqB,CACjC,QAAuC;IAEvC,MAAM,EACF,MAAM,EACN,IAAI,EACJ,cAAc,EACd,cAAc,EACd,QAAQ,EACR,UAAU,GACb,GAAG,QAAQ,CAAC;IACb,IAAI,aAAiC,CAAC;IACtC,IAAI,aAAiC,CAAC;IACtC,UAAU,CAAC,KAAK,IAAI,EAAE;QAClB,aAAa,GAAG,MAAM,cAAc,EAAE,CAAC;QACvC,aAAa,GAAG,MAAM,cAAc,EAAE,CAAC;IAC3C,CAAC,CAAC,CAAC;IAEH,QAAQ,CAAC,aAAa,EAAE,GAAG,EAAE;QACzB,MAAM,GAAG,GAAG,kBAAQ,CAAC,gBAAgB,CAAC,EAAE,CAAC,CAAC;QAC1C,QAAQ,CAAC,gBAAgB,EAAE,GAAG,EAAE;YAC5B,IAAI,CAAC,yCAAyC,EAAE,KAAK,IAAI,EAAE;gBACvD,MAAM,aAAa,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,EAAE,IAAI,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