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

#include <async.hpp>

Public Attributes

std::atomic< unsigned > phase {OPEN}
 Only shared mutable producer state; never retains UI storage.

Static Public Attributes

static constexpr unsigned OPEN = 0
 A producer can attempt one publication.
static constexpr unsigned PUBLISHING = 1
 One producer holds the admission attempt.
static constexpr unsigned ACCEPTED = 2
 One completion was accepted; further admission rejects.
static constexpr unsigned CLOSED = 3
 UI cancellation or delivery permanently closes admission.

Detailed Description

One endpoint has at most one accepted immutable completion. UI closure is visible to workers.


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