Method signature of a stream factory method.
typedef StreamFactory<T> = Future<Stream<T>> Function();