pub async fn start_indexer_jsonrpc_for_testing(
db_url: String,
fullnode_url: String,
json_rpc_url: String,
cancel: Option<CancellationToken>,
) -> (JoinHandle<Result<(), IndexerError>>, CancellationToken)
Expand description
Wrapper over Indexer::start_reader
to make it easier to configure an indexer jsonrpc reader
for testing.