performTask<T> method

Future<T> performTask<T>(
  1. Future<T> task(
    1. EvmRpcClient client
    ), {
  2. Duration timeout = const Duration(seconds: 30),
  3. int? maxTries,
})

Implementation

Future<T> performTask<T>(
  Future<T> Function(EvmRpcClient client) task, {
  Duration timeout = const Duration(seconds: 30),
  int? maxTries,
}) =>
    _manager.performTask(task, timeout: timeout, maxTries: maxTries);