When used as the TimeoutResolution type parameter, causes the FutureWithTimeout wrapper to return Ready(ready_value_fn()) when there is a timeout.
This is useful when the type is large and shouldn't be stored, or if it should be constructed on demand.
Public Types | |
| using | value_type = T |
Public Member Functions | |
| constexpr | ReadyFunctionResultResolution (pw::Function< T()> ready_value_fn) |
| constexpr Poll< T > | operator() () const |