googleapis / googleapis/google-cloud-cpp
Refactor AsyncPollingLoop to accept an Operation directly
Aperta
type: cleanup
- Lingua principale
- C++
- Stelle
- 659
- Fork
- 462
- Merge medio
- 1g 2h
- PR unite (30g)
- 89
Descrizione
Currently in `AsyncAwaitLongRunningOperation` we can construct a `future>` from an `Operation` just so we can pass it to `AsyncPollingLoop`. It would be preferable to refactor `AsyncPollingLoop` such that it could accept either.
A brief attempt to do this refactoring was made, but resulted in unit test failures when trying to cancel the `future`.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.