@absolutejs/absolute 0.19.0-beta.360 → 0.19.0-beta.361

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -180425,6 +180425,15 @@ var appendStreamingSlotPatchesToStream = (stream, slots = [], {
180425
180425
  });
180426
180426
  };
180427
180427
 
180428
+ // src/core/streamingSlotRegistrar.ts
180429
+ var registrar = null;
180430
+ var setStreamingSlotRegistrar = (nextRegistrar) => {
180431
+ registrar = nextRegistrar;
180432
+ };
180433
+ var registerStreamingSlot = (slot) => {
180434
+ registrar?.(slot);
180435
+ };
180436
+
180428
180437
  // src/core/streamingSlotRegistry.ts
180429
180438
  var asyncLocalStorage;
180430
180439
  var isServerRuntime = () => typeof process !== "undefined" && typeof process.versions?.node === "string";
@@ -180439,7 +180448,7 @@ var ensureAsyncLocalStorage = async () => {
180439
180448
  asyncLocalStorage = new mod.AsyncLocalStorage;
180440
180449
  return asyncLocalStorage;
180441
180450
  };
180442
- var registerStreamingSlot = (slot) => {
180451
+ var registerStreamingSlot2 = (slot) => {
180443
180452
  if (!asyncLocalStorage)
180444
180453
  return;
180445
180454
  const store = asyncLocalStorage.getStore();
@@ -180447,6 +180456,7 @@ var registerStreamingSlot = (slot) => {
180447
180456
  return;
180448
180457
  store.set(slot.id, slot);
180449
180458
  };
180459
+ setStreamingSlotRegistrar(registerStreamingSlot2);
180450
180460
  var runWithStreamingSlotRegistry = async (task) => {
180451
180461
  const storage = await ensureAsyncLocalStorage();
180452
180462
  if (!storage) {
@@ -187245,5 +187255,5 @@ export {
187245
187255
  ANGULAR_INIT_TIMEOUT_MS
187246
187256
  };
187247
187257
 
187248
- //# debugId=4EDD000519CD1EFE64756E2164756E21
187258
+ //# debugId=0554EBBE9C058B6264756E2164756E21
187249
187259
  //# sourceMappingURL=index.js.map