Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Loading...
Searching...
No Matches
portals::WindowNotifier< T > Class Template Reference

Copyable worker endpoint; retains only worker-safe state, never a UI source owner. More...

#include <window_source.hpp>

Public Member Functions

 WindowNotifier ()=default
 Empty closed endpoint.
std::expected< PublishResult, SourceError > notifyReady (SourceStamp source, std::uint64_t revision) const

Friends

template<class>
class WindowSource

Detailed Description

template<class T>
class portals::WindowNotifier< T >

Copyable worker endpoint; retains only worker-safe state, never a UI source owner.

Template Parameters
TImmutable source row value; source closure rejects late notifications.

Member Function Documentation

◆ notifyReady()

template<class T>
std::expected< PublishResult, SourceError > portals::WindowNotifier< T >::notifyReady ( SourceStamp source,
std::uint64_t revision ) const
inline
Parameters
sourceExact immutable source stamp; a different namespace is rejected.
revisionNew positive readiness/data revision, applied later on UI.
Returns
Existing coalesced queue admission, not proof of UI application.

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