Closed yim-lee closed 1 year ago
cc @vlm
@swift-server-bot test this please
@swift-server-bot test this please
@swift-server-bot test this please
@swift-server-bot test this please
@swift-server-bot test this please
@swift-server-bot test this please
@swift-server-bot test this please
Motivation:
PaginatedRows
hasforEach
andmap
APIs for iterating and transforming all rows in the result. Their implementation uses recusion however and probably not the most performant.Modifications: Conform
PaginatedRows
toAsyncSequence
with underlying async stream to take advantage of language constructs and optimization.Deprecate
EventLoopFuture
and async/await variants offorEach
andmap
.