winrt::resume_background function (C++/WinRT)
A helper function—for use within a coroutine—that returns control to the caller, and then immediately resumes execution on a thread pool thread. For more info, and a code example, see Offloading work onto the Windows thread pool.
Syntax
inline auto resume_background();
Return value
An object that you can co_await
.
Requirements
Minimum supported SDK: Windows SDK version 10.0.17134.0 (Windows 10, version 1803)
Namespace: winrt
Header: %WindowsSdkDir%Include<WindowsTargetPlatformVersion>\cppwinrt\winrt\base.h (included by default)