A type that you can use to implement (produce) the deferrable event pattern. For more info, and code examples, see Deferrable events.
Syntaxtemplate<typename D>
struct deferrable_event_args
Template parameters
typename D
The type of the event args of the deferrable event.
Minimum supported SDK: Currently in Windows SDK Insider Preview
Namespace: winrt
Header: $(ProjectDir)Generated Files\winrt\Windows.Foundation.h
Member functions deferrable_event_args::GetDeferral functionCalled by the event recipient in order to retrieve a deferral. Doing so indicates to the event source that post-event activities should be postponed until Complete has been called on the deferral. This allows an event handler to perform asynchronous actions in response to an event.
Syntaxwinrt::Windows::Foundation::Deferral GetDeferral();
Return value
A Windows::Foundation::Deferral object.
deferrable_event_args::wait_for_deferrals functionCompletes when all outstanding deferrals have completed (if no deferrals were taken, then it completes immediately).
Syntaxwinrt::Windows::Foundation::IAsyncAction wait_for_deferrals();
Return value
A Windows::Foundation::IAsyncAction object.
See alsoRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4