performTaskForClients<T, R> method
Implementation
Future<R> performTaskForClients<T, R>(
Future<T> Function(EvmRpcClient) task, {
required R Function(
List<ValueOrError<T, EvmRpcClient>> results,
) consilidate,
Duration timeout = const Duration(seconds: 30),
int maxTriesPerClient = 2,
int minClients = 2,
int? maxClients,
bool enforceParallel = false,
}) =>
_manager.performTaskForClients(
task,
consilidate: consilidate,
timeout: timeout,
maxTriesPerClient: maxTriesPerClient,
maxClients: maxClients,
minClients: minClients,
enforceParallel: enforceParallel,
);