* Create a Layer from an Entity. * * It will register the entity with the Sharding service.
(
build: Handlers | Effect.Effect<Handlers, never, RX>,
options?: {
readonly maxIdleTime?: DurationInput | undefined
readonly concurrency?: number | "unbounded" | undefined
readonly mailboxCapacity?: number | "unbounded" | undefined
readonly disableFatalDefects?: boolean | undefined
readonly defectRetryPolicy?: Schedule.Schedule<any, unknown> | undefined
readonly spanAttributes?: Record<string, string> | undefined
}
)
| 123 | * It will register the entity with the Sharding service. |
| 124 | */ |
| 125 | toLayer< |
| 126 | Handlers extends HandlersFrom<Rpcs>, |
| 127 | RX = never |
| 128 | >( |
no outgoing calls
no test coverage detected