GitHub

API reference for client.

The client side of the Effect DevTools (Effect's devtools/DevToolsClient).

make connects over the Socket: it sends a Ping every 3 seconds, answers MetricsRequest\s with a MetricsSnapshot, and reconnects every second while the socket fails. layer_tracer installs a tracer that reports every span when it starts and ends, and its events.

Values

AttributeTypeDescription
makeEffect[DevToolsClientService, Never, Scope | Socket]

A DevTools connection over the Socket.

layerLayer[DevToolsClient, Never, Socket]

A DevToolsClient connected over the Socket (make).

make_tracerEffect[Tracer, Never, DevToolsClient]

The current tracer, reporting its spans to the DevTools.

layer_tracerLayer[Never, Never, Socket]

Reports every span to the DevTools over the Socket.

Classes