push overloads
Declared in <folly/io/async/AtomicNotificationQueue.h>
Adds a task into the queue. Can be called from any thread.
template<typename... Args>
bool
push(Args&&... args);
» more...
Same as above but RequestContext is passed from caller.
template<typename... Args>
bool
push(
std::shared_ptr<RequestContext> rctx,
Args&&... args);
» more...
| Name | Description |
|---|---|
| args | Arguments forwarded to construct the task. |
| rctx | The request context to associate with the task. |