Try to remove an item, waiting at most the given duration.
Declared in <folly/executors/task_queue/UnboundedBlockingQueue.h>
folly::Optional<T>
try_take_for(std::chrono::milliseconds time) override;
The dequeued item, or folly::none if the wait timed out.
| Name | Description |
|---|---|
| time | The maximum time to wait for an item. |