| 1 | "@effect/platform/Worker#BackingWorker": |
| 2 | replacement: "Worker.Worker" |
| 3 | note: "The low-level backing worker became the primary Worker interface with send and run operations." |
| 4 | "@effect/platform/Worker#layerManager": |
| 5 | replacement: "Worker.WorkerPlatform" |
| 6 | note: "WorkerManager was removed; provide the adapter's WorkerPlatform layer directly." |
| 7 | "@effect/platform/Worker#makeManager": |
| 8 | replacement: "Worker.WorkerPlatform" |
| 9 | note: "WorkerManager was removed; obtain WorkerPlatform and call its spawn method." |
| 10 | "@effect/platform/Worker#makePool": |
| 11 | replacement: "Pool + Worker.WorkerPlatform.spawn" |
| 12 | note: "Generic worker pools are no longer built by this module; build a Pool around WorkerPlatform.spawn, or use RpcClient.makeProtocolWorker for RPC workers." |
| 13 | "@effect/platform/Worker#makePoolLayer": |
| 14 | replacement: "RpcClient.layerProtocolWorker" |
| 15 | note: "The standard v4 worker-pool layer is the worker-backed RPC client protocol; compose it with the RPC client layer." |
| 16 | "@effect/platform/Worker#makePoolSerialized": |
| 17 | replacement: "RpcClient.makeProtocolWorker" |
| 18 | note: "Serialized tagged-request workers were replaced by the worker-backed RPC protocol." |
| 19 | "@effect/platform/Worker#makePoolSerializedLayer": |
| 20 | replacement: "RpcClient.layerProtocolWorker" |
| 21 | note: "Serialized tagged-request worker pools were replaced by the worker-backed RPC protocol layer." |
| 22 | "@effect/platform/Worker#makeSerialized": |
| 23 | replacement: "RpcClient with RpcClient.layerProtocolWorker" |
| 24 | note: "Serialized tagged-request execution moved to the v4 RPC model; define an RpcGroup and use the worker protocol." |
| 25 | "@effect/platform/Worker#PlatformWorker": |
| 26 | replacement: "Worker.WorkerPlatform" |
| 27 | note: "The platform service was renamed and is now a Context.Service class." |
| 28 | "@effect/platform/Worker#PlatformWorkerTypeId": |
| 29 | replacement: "none" |
| 30 | note: "The Context.Service class replaces the public platform-worker type-id alias." |
| 31 | "@effect/platform/Worker#SerializedWorker": |
| 32 | replacement: "RpcClient with RpcClient.layerProtocolWorker" |
| 33 | note: "The serialized worker facade was removed; v4 routes schema-defined RPCs through the worker protocol." |
| 34 | "@effect/platform/Worker#SerializedWorker.Options": |
| 35 | replacement: "RpcWorker.layerInitialMessage" |
| 36 | note: "Use RpcWorker.layerInitialMessage when a worker RPC protocol needs schema-encoded initialization." |
| 37 | "@effect/platform/Worker#SerializedWorkerPool": |
| 38 | replacement: "RpcClient.makeProtocolWorker" |
| 39 | note: "The worker-backed RPC protocol owns its worker pool in v4." |
| 40 | "@effect/platform/Worker#SerializedWorkerPool.Options": |
| 41 | replacement: "Parameters<typeof RpcClient.makeProtocolWorker>[0]" |
| 42 | note: "Pool sizing options moved to the worker RPC protocol; initial messages are provided separately with RpcWorker.layerInitialMessage." |
| 43 | "@effect/platform/Worker#Worker": |
| 44 | replacement: "Worker.Worker" |
| 45 | note: "The name remains in effect/workers/Worker, but it is now the low-level send/run abstraction rather than execute/executeEffect." |
| 46 | "@effect/platform/Worker#Worker.Options": |
| 47 | replacement: "Worker.Worker[\"run\"] options" |
| 48 | note: "Encoding moved to RPC schemas; the low-level run operation only accepts an optional onSpawn effect." |
| 49 | "@effect/platform/Worker#Worker.Response": |
| 50 | replacement: "none" |
| 51 | note: "The old tagged-request wire response is gone; worker RPC wire messages are internal to RpcClient and RpcServer." |
| 52 | "@effect/platform/Worker#Worker.Span": |
| 53 | replacement: "none" |
| 54 | note: "The explicit span tuple was removed; the RPC worker protocol handles span propagation internally." |
| 55 | "@effect/platform/Worker#WorkerManager": |
| 56 | replacement: "Worker.WorkerPlatform" |
| 57 | note: "WorkerPlatform now spawns low-level Worker values directly, replacing WorkerManager." |
| 58 | "@effect/platform/Worker#WorkerManagerTypeId": |
| 59 | replacement: "none" |
| 60 | note: "The removed WorkerManager has no v4 type-id; WorkerPlatform is a Context.Service class." |
| 61 | "@effect/platform/Worker#WorkerPool": |
| 62 | replacement: "RpcClient.Protocol" |
| 63 | note: "For serialized request/response workloads use the worker-backed RPC Protocol; for raw messages build a Pool around WorkerPlatform.spawn." |
| 64 | "@effect/platform/Worker#WorkerPool.Options": |
| 65 | replacement: "Parameters<typeof RpcClient.makeProtocolWorker>[0]" |
| 66 | note: "Worker RPC pool sizing is configured on makeProtocolWorker or layerProtocolWorker." |