jsonrpc_client_transports::transports::local

Function connect_with_pubsub

Source
pub fn connect_with_pubsub<TClient, THandler>(
    handler: THandler,
) -> (TClient, impl Future<Output = RpcResult<()>>)
where TClient: From<RpcChannel>, THandler: Deref<Target = MetaIoHandler<LocalMeta>> + Unpin,
Expand description

Connects with pubsub.