use<T> method

Future<T> use<T>(
  1. Future<T> fn()
)

Implementation

Future<T> use<T>(Future<T> Function() fn) => mutex.protectRead(fn);