( url = "ws://localhost:34437" )
| 29 | * @since 4.0.0 |
| 30 | */ |
| 31 | export const layerWebSocket = ( |
| 32 | url = "ws://localhost:34437" |
| 33 | ): Layer.Layer<never, never, Socket.WebSocketConstructor> => |
| 34 | DevToolsClient.layerTracer.pipe( |
| 35 | Layer.provide(Socket.layerWebSocket(url)) |
| 36 | ) |
| 37 | |
| 38 | /** |
| 39 | * Layer that installs the devtools tracer over a WebSocket connection using the |