QueryExecutor<T> typedef

QueryExecutor<T> = Future<T> Function()

This can be both query and mutation since they return similar result.

Implementation

typedef QueryExecutor<T> = Future<T> Function();