Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Loading...
Searching...
No Matches
portals::detail::AsyncWait Struct Referenceabstract

UI-owned wait registration; workers never retain this cancellation interface. More...

#include <async.hpp>

Public Member Functions

virtual ~AsyncWait ()=default
 Destroy on UI after registration detachment.
virtual void cancel (AsyncError error) noexcept=0

Detailed Description

UI-owned wait registration; workers never retain this cancellation interface.

Member Function Documentation

◆ cancel()

virtual void portals::detail::AsyncWait::cancel ( AsyncError error)
pure virtualnoexcept
Parameters
errorReason stored when a not-yet-settled wait is cancelled on UI.

The documentation for this struct was generated from the following file: