async_typeof.dart 294 B

1234567891011
  1. import 'dart:async';
  2. typedef FutureCallback<T> = Future<T> Function();
  3. typedef IntervalCallback<T> = Future<T> Function(int times);
  4. typedef Cancelable<T> = void Function();
  5. typedef FutureCompleter<T> = void Function(Completer<T> completer);
  6. typedef Predicate<T> = bool Function(T? value);