@effect/platform 0.26.6 → 0.27.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.
|
@@ -189,7 +189,7 @@ const makePool$1 = () => options => Effect__namespace.gen(function* (_) {
|
|
|
189
189
|
executeEffect: message => Effect__namespace.flatMap(Effect__namespace.scoped(backing.get()), worker => worker.executeEffect(message))
|
|
190
190
|
};
|
|
191
191
|
return pool;
|
|
192
|
-
});
|
|
192
|
+
}).pipe(Effect__namespace.parallelFinalizers);
|
|
193
193
|
|
|
194
194
|
/** @internal */
|
|
195
195
|
const makePoolLayer$1 = managerLayer => (tag, options) => Layer__namespace.provide(managerLayer, Layer__namespace.scoped(tag, makePool$1()(options)));
|
|
@@ -189,7 +189,7 @@ const makePool$1 = () => options => Effect__namespace.gen(function* (_) {
|
|
|
189
189
|
executeEffect: message => Effect__namespace.flatMap(Effect__namespace.scoped(backing.get()), worker => worker.executeEffect(message))
|
|
190
190
|
};
|
|
191
191
|
return pool;
|
|
192
|
-
});
|
|
192
|
+
}).pipe(Effect__namespace.parallelFinalizers);
|
|
193
193
|
|
|
194
194
|
/** @internal */
|
|
195
195
|
const makePoolLayer$1 = managerLayer => (tag, options) => Layer__namespace.provide(managerLayer, Layer__namespace.scoped(tag, makePool$1()(options)));
|
|
@@ -156,7 +156,7 @@ const makePool$1 = () => options => Effect.gen(function* (_) {
|
|
|
156
156
|
executeEffect: message => Effect.flatMap(Effect.scoped(backing.get()), worker => worker.executeEffect(message))
|
|
157
157
|
};
|
|
158
158
|
return pool;
|
|
159
|
-
});
|
|
159
|
+
}).pipe(Effect.parallelFinalizers);
|
|
160
160
|
|
|
161
161
|
/** @internal */
|
|
162
162
|
const makePoolLayer$1 = managerLayer => (tag, options) => Layer.provide(managerLayer, Layer.scoped(tag, makePool$1()(options)));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effect/platform",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.27.0",
|
|
4
4
|
"description": "Unified interfaces for common platform-specific services",
|
|
5
5
|
"main": "dist/effect-platform.cjs.js",
|
|
6
6
|
"module": "dist/effect-platform.esm.js",
|
|
@@ -34,13 +34,13 @@
|
|
|
34
34
|
"path-browserify": "^1.0.1"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@effect/schema": "^0.
|
|
37
|
+
"@effect/schema": "^0.47.0",
|
|
38
38
|
"@types/path-browserify": "^1.0.1",
|
|
39
|
-
"effect": "2.0.0-next.
|
|
39
|
+
"effect": "2.0.0-next.53"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
|
-
"@effect/schema": "^0.
|
|
43
|
-
"effect": "2.0.0-next.
|
|
42
|
+
"@effect/schema": "^0.47.0",
|
|
43
|
+
"effect": "2.0.0-next.53"
|
|
44
44
|
},
|
|
45
45
|
"files": [
|
|
46
46
|
"src",
|
package/src/internal/worker.ts
CHANGED