blockConcurrencyWhile<T> method

Future<T> blockConcurrencyWhile<T>(
  1. Future<T> callback()
)

Implementation

Future<T> blockConcurrencyWhile<T>(Future<T> Function() callback) {
  return js_util.promiseToFuture(
    js_util.callMethod(
      this,
      'blockConcurrencyWhile',
      [allowInterop(callback)],
    ),
  );
}