MCPcopy Create free account
hub / github.com/apache/arrow / SlowdownABit

Function SlowdownABit

cpp/src/arrow/testing/async_test_util.h:48–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46
47template <typename T>
48AsyncGenerator<T> SlowdownABit(AsyncGenerator<T> source) {
49 return MakeMappedGenerator(std::move(source), [](const T& res) {
50 return SleepABitAsync().Then([res]() { return res; });
51 });
52}
53
54template <typename T>
55class TrackingGenerator {

Callers 6

TESTFunction · 0.85
MakeSourceMethod · 0.85
MakeFailingSourceMethod · 0.85
TESTFunction · 0.85
TEST_PFunction · 0.85
TESTFunction · 0.85

Calls 3

MakeMappedGeneratorFunction · 0.85
SleepABitAsyncFunction · 0.85
ThenMethod · 0.80

Tested by

no test coverage detected