winrt::fire_and_forget struct (C++/WinRT)

To make your coroutine a fire-and-forget one, use winrt::fire_and_forget for its return type. For more info, and a code example, see Fire and forget.

Syntax

struct fire_and_forget;

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)

See also