Stream<Result> getStream() async* { while (true) { var result = await next(); if (result == null) break; yield result; } }