Commit 956885e9 authored by Nathan Lanza's avatar Nathan Lanza Committed by Facebook GitHub Bot

Update folly::experimental::coro docs to account for getCPUExecutor deprecation

Summary: title

Reviewed By: yfeldblum

Differential Revision: D28345979

fbshipit-source-id: ea55db34e19d3881c65559172d4fc9df4808fdad
parent 96b30363
......@@ -18,9 +18,8 @@ folly::coro::Task<int> taskSlow43() {
int main() {
...
CHECK_EQ(
43,
folly::coro::blockingWait(taskSlow43().scheduleOn(folly::getCPUExecutor().get())));
CHECK_EQ(43, folly::coro::blockingWait(taskSlow43().scheduleOn(
folly::getGlobalCPUExecutor().get())));
...
}
```
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment