Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Loading...
Searching...
No Matches
portals::UiAcknowledgement Class Reference

Copyable execution receipt; polling never waits and retains no UI owner or callback. More...

#include <ui_delivery.hpp>

Public Member Functions

 UiAcknowledgement ()=default
 Construct an empty receipt observing CANCELLED.
UiDeliveryOutcome poll () const noexcept
 Thread-safe acquire observation; no callback or UI operation is performed.

Friends

template<class>
class UiEndpoint
std::expected< UiAcknowledgement, SchedulerError > detail::postUiDelivery (const Publisher< detail::UiDeliveryEnvelope > &, std::shared_ptr< const void >, bool)

Detailed Description

Copyable execution receipt; polling never waits and retains no UI owner or callback.

Member Function Documentation

◆ poll()

UiDeliveryOutcome portals::UiAcknowledgement::poll ( ) const
noexcept

Thread-safe acquire observation; no callback or UI operation is performed.

Returns
PENDING until callback return, then the terminal execution outcome.

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