Type definition for a function that returns a future.
typedef SetFutureFunction = Future<R> Function<R>(Future<R> future);