You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some APIs are both LROs and the response is pageable. Combining these two features is challenging. Currently, we only generate a method that returns async iterator over pageable results and has the suffix AndWait. However, we also need to generate for these APIs another overload that does not have this suffix and returns a poller which eventually will return the async iterator.
The text was updated successfully, but these errors were encountered:
Currently we are generating a Short LRO method for these operations that combine Paging + LRO which are suffixed with AndWait, these would pollUntilDone internally and give back the PagedAsyncIterator.
Implementing this would generate an additional method without the AndWait suffix, and keep the Short LRO one. So this would be an additive change and not a breaking change.
I can see this change split in 2 phases
Make a change to cswitch to the new paging getPagedAsyncIterator which would help remove most of the private methods we are generating. This would be a non-breaking change.
implement what Deya referenced above
@deyaaeldeen do you think the assesement above is accurate?
Some APIs are both LROs and the response is pageable. Combining these two features is challenging. Currently, we only generate a method that returns async iterator over pageable results and has the suffix
AndWait
. However, we also need to generate for these APIs another overload that does not have this suffix and returns a poller which eventually will return the async iterator.The text was updated successfully, but these errors were encountered: