MCPcopy Create free account
hub / github.com/ChainSafe/Delorean-Protocol / new

Method new

ipld/resolver/src/client.rs:22–24  ·  view source on GitHub ↗
(request_tx: UnboundedSender<Request<V>>)

Source from the content-addressed store, hash-verified

20
21impl<V> Client<V> {
22 pub(crate) fn new(request_tx: UnboundedSender<Request<V>>) -> Self {
23 Self { request_tx }
24 }
25
26 /// Send a request to the [`Service`], unless it has stopped listening.
27 fn send_request(&self, req: Request<V>) -> anyhow::Result<()> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected