pub(in api) async fn init_query_module(
api: &Options,
query_opt: Query,
mod_opt: Options,
state: ApiState,
tasks: &mut TaskList,
) -> Result<(Box<dyn Metrics>, Box<dyn ApiSink>, Option<Storage>)>Expand description
Start the query module of api over this backend, returning what consensus needs from it.