A Rust‐style pollable adaptor over a Task or SemiFuture.
Synopsis
Declared in <folly/coro/RustAdaptors.h>
template<typename T>
class PollFuture final
Type Aliases
Member Functions
Name |
Description |
|
Constructors |
|
Destroys the future, cancelling and draining any pending work first. |
Assignment operators |
|
Polls the future for its result, registering a waker if pending. |
Created with MrDocs