LavaUI docs

function connectToCompositor

Swift

func connectToCompositor() throws -> (Compositor, Rpc)

Connects to the compositor. Returns the proxy plus the Rpc that owns its transport, which the caller must keep alive.

Sources/LavaClient/ControlPlane.swift:103