Constructs a pollable stream that drives the given async generator.
Synopsis
Declared in <folly/coro/RustAdaptors.h>
explicit
PollStream(AsyncGenerator<T> asyncGenerator);
Parameters
Name |
Description |
asyncGenerator |
The generator to poll for elements. |
Created with MrDocs