MCPcopy Index your code
hub / github.com/Effect-TS/effect / makePoolSerializedLayer

Function makePoolSerializedLayer

packages/platform/src/internal/worker.ts:384–387  ·  view source on GitHub ↗
(
  tag: Context.Tag<Tag, Worker.SerializedWorkerPool<I>>,
  options: Worker.SerializedWorkerPool.Options<I>
)

Source from the content-addressed store, hash-verified

382
383/** @internal */
384export const makePoolSerializedLayer = <Tag, I extends Schema.TaggedRequest.All>(
385 tag: Context.Tag<Tag, Worker.SerializedWorkerPool<I>>,
386 options: Worker.SerializedWorkerPool.Options<I>
387) => Layer.scoped(tag, makePoolSerialized(options))
388
389/** @internal */
390export const layerSpawner = <W = unknown>(spawner: Worker.SpawnerFn<W>) =>

Callers

nothing calls this directly

Calls 1

makePoolSerializedFunction · 0.85

Tested by

no test coverage detected