Add .startInlineUnsafe() method to folly::coro::Task
Summary: This allows the caller to guarantee that the coroutine starts executing on the current thread. This can be necessary for correctness in some situations, where having the coroutine enqueued to the executor, as `.start()` does, and potentially allowing other code to run in the meantime could invalidate some assumptions. Reviewed By: andriigrynenko Differential Revision: D18076197 fbshipit-source-id: a6c5c226f2d7189f37e8f9713a30896767e9b8e9
Showing
Please register or sign in to comment