@dxos/echo-pipeline 0.3.11-main.604a65a → 0.3.11-main.61d1a76

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.
@@ -1925,7 +1925,7 @@ var idle = async (timeout) => {
1925
1925
  };
1926
1926
 
1927
1927
  // packages/core/echo/echo-pipeline/src/space/space.ts
1928
- import { Event as Event5, synchronized as synchronized4, trackLeaks as trackLeaks3, Mutex } from "@dxos/async";
1928
+ import { Event as Event5, synchronized as synchronized4, trackLeaks as trackLeaks3, Lock } from "@dxos/async";
1929
1929
  import { invariant as invariant9 } from "@dxos/invariant";
1930
1930
  import { log as log10, logInfo } from "@dxos/log";
1931
1931
  import { AdmittedFeed as AdmittedFeed2 } from "@dxos/protocols/proto/dxos/halo/credentials";
@@ -2204,7 +2204,7 @@ function _ts_decorate6(decorators, target, key, desc) {
2204
2204
  var __dxlog_file11 = "/home/runner/work/dxos/dxos/packages/core/echo/echo-pipeline/src/space/space.ts";
2205
2205
  var Space = class {
2206
2206
  constructor(params) {
2207
- this._addFeedMutex = new Mutex();
2207
+ this._addFeedLock = new Lock();
2208
2208
  this.onCredentialProcessed = new Callback2();
2209
2209
  this.stateUpdate = new Event5();
2210
2210
  this._isOpen = false;
@@ -2274,7 +2274,7 @@ var Space = class {
2274
2274
  if (this._dataFeed) {
2275
2275
  pipeline.setWriteFeed(this._dataFeed);
2276
2276
  }
2277
- await this._addFeedMutex.executeSynchronized(async () => {
2277
+ await this._addFeedLock.executeSynchronized(async () => {
2278
2278
  for (const feed of this._controlPipeline.spaceState.feeds.values()) {
2279
2279
  if (feed.assertion.designation === AdmittedFeed2.Designation.DATA && !pipeline.hasFeed(feed.key)) {
2280
2280
  await pipeline.addFeed(await this._feedProvider(feed.key, {
@@ -3227,4 +3227,4 @@ export {
3227
3227
  SpaceManager,
3228
3228
  AutomergeHost
3229
3229
  };
3230
- //# sourceMappingURL=chunk-D7UMNYLJ.mjs.map
3230
+ //# sourceMappingURL=chunk-LWXIY6E6.mjs.map