-
Nanshu Chen authored
Summary: AsyncGeneratorWrapper uses folly::Optional as the return type for "getNext". Now the AsyncGenerator API has changed by adding `next()` method which returns a `NextResult` type, which works like folly::Optional while supporting both values and references, it's best to use `NextResult` for the wrapper as well. Reviewed By: yfeldblum Differential Revision: D16695661 fbshipit-source-id: 84e9d74e8d6b17b93bd3c22e2aaf56c7b9e4b789
f65c05bb