Libp2p.ReqRespServer (libp2p_elixir v0.9.0)
Minimal concurrency gating for Req/Resp handlers.
Ethereum's p2p-interface requires limiting concurrent requests per protocol ID. This module provides a reusable mechanism that libp2p stream handlers can call.
Summary
Functions
Returns a specification to start this module under a supervisor.
Types
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
@spec start_link(keyword()) :: GenServer.on_start()