Rpc_effect_kernel.Mockval with_connector :
(Where_to_connect.t -> Connector.t) ->
(Bonsai.graph @ local -> 'a Bonsai.t) ->
Bonsai.graph @ local ->
'a Bonsai.tTurns a computation into a new computation that has access to some sort of connection. This is the primitive and most powerful way of providing access to a connection. Since it has access to the Where_to_connect.t, it can create different kinds of connections based on what is being connected to. This can be useful when you want to run an existing client app in a mocked context, like for sandbox testing.