Aria 2.0.0
C++23 MVVM framework (C++20 minimum) — reactive, coroutine-first, ABI-layered
Loading...
Searching...
No Matches
aria::BatchScope Class Reference

RAII batch guard: { BatchScope b; ...; } or use batch([&]{...}). More...

#include <graph.hpp>

Public Member Functions

 BatchScope ()
 BatchScope (const BatchScope &)=delete
 ~BatchScope () noexcept
BatchScopeoperator= (const BatchScope &)=delete

Detailed Description

RAII batch guard: { BatchScope b; ...; } or use batch([&]{...}).

If flush() throws (e.g. a CircularDependencyError), the destructor catches it and reports through the diagnostic sink rather than letting the exception escape — destructors are implicitly noexcept and any exception escaping during stack unwinding from a user error would terminate the process. The user-visible flush() call from a batch([&]{...}) body still throws normally; only the dtor swallows.

Constructor & Destructor Documentation

◆ BatchScope() [1/2]

◆ BatchScope() [2/2]

aria::reactive::BatchScope::BatchScope ( const BatchScope & )
delete

◆ ~BatchScope()

Member Function Documentation

◆ operator=()

BatchScope & aria::reactive::BatchScope::operator= ( const BatchScope & )
delete

The documentation for this class was generated from the following file:
  • modules/core/include/aria/reactive/graph.hpp