Closed timcassell closed 1 year ago
Added SwitchToForegroundAwait, SwitchToBackgroundAwait, and SwitchToContextAwait. These avoid the overhead of Promise, and just post the continuations directly to the context.
SwitchToForegroundAwait
SwitchToBackgroundAwait
SwitchToContextAwait
Promise
Test failure is unrelated.
Added
SwitchToForegroundAwait
,SwitchToBackgroundAwait
, andSwitchToContextAwait
. These avoid the overhead ofPromise
, and just post the continuations directly to the context.