async fn handle_incoming(
consensus_api: Arc<ConsensusApi>,
core_api: Arc<BTreeMap<String, ApiEndpoint<ConsensusApi>>>,
module_api: Arc<BTreeMap<ModuleInstanceId, BTreeMap<String, ApiEndpoint<DynServerModule>>>>,
task_group: TaskGroup,
incoming: Incoming,
_connection_permit: OwnedSemaphorePermit,
iroh_api_max_requests_per_connection: usize,
) -> Result<()>