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,
) -> Result<()>