Returns a weak keep-alive to executor that does not extend its lifetime.
Declared in <folly/DefaultKeepAliveExecutor.h>
template<typename ExecutorT>
static
auto
getWeakRef(ExecutorT& executor);
A weak keep-alive that does not extend the executor's lifetime.
| Name | Description |
|---|---|
| executor | The executor to obtain a weak keep-alive to. |