BridgeAdapterFactory typedef

BridgeAdapterFactory = LazyVSCodeBridgeAdapter Function(String host, int port)

Creates a port-bound LazyVSCodeBridgeAdapter for a resolved bridge.

The production default constructs a real LazyVSCodeBridgeAdapter; tests inject a double so connectToWorkspace can run without a socket.

Implementation

typedef BridgeAdapterFactory =
    LazyVSCodeBridgeAdapter Function(String host, int port);