You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary:
Analog of `folly::coro::makeTask`.
The typical use-case is a "coroutine wrapper", i.e. a non-coro function that returns a trivial coroutine on some branches, and a potentially-suspending coro on other branches. The typical motivation for such wrappers (over just doing `co_return co_await subTask()`) is to guarantee that there's no coro frame overhead for the wrapper.
Reviewed By: ispeters
Differential Revision: D77400395
fbshipit-source-id: 5a2e5e81c439faf1f9f4d9d1d9dc02907d9b34c3
0 commit comments