function generate (f /* ...args */) {
  return new Stream(new GenerateSource(f, tail(arguments)))
}
Compute a stream using an *async* generator, which yields promises
to control event times.
@param f
@returns {Stream}