methodset Deprecated
Declared in <folly/executors/GlobalExecutor.h>
[[deprecated("setIOExecutor is deprecated. To use the global mutable executor use setUnsafeMutableGlobalIOExecutor. For a better solution use getGlobalIOExecutor and avoid calling set.")]]
void
setIOExecutor(std::weak_ptr<IOExecutor> executor);
Deprecated: setIOExecutor is deprecated. To use the global mutable executor use setUnsafeMutableGlobalIOExecutor. For a better solution use getGlobalIOExecutor and avoid calling set.. Use of this entity is allowed but discouraged.
To use the global mutable executor use setUnsafeMutableGlobalIOExecutor. For a better solution use getGlobalIOExecutor and avoid calling set.
| Name | Description |
|---|---|
| executor | IO Executor to set as the global mutable IO executor. |