A mutation at run time (spec 5 §5): concurrency, optimistic writes and the reply's effects.
More...
#include <interpreter.hpp>
A mutation at run time (spec 5 §5): concurrency, optimistic writes and the reply's effects.
Definition at line 2016 of file interpreter.hpp.
◆ MutationRuntime()
A mutation of scope.
- Parameters
-
| decl | The declaration. |
| scope | The scope. |
| alias | The model alias it goes through. |
Definition at line 3734 of file interpreter.hpp.
◆ ~MutationRuntime()
| morph::ui::detail::MutationRuntime::~MutationRuntime |
( |
| ) |
|
|
inline |
◆ run()
| void morph::ui::detail::MutationRuntime::run |
( |
Value | body, |
|
|
std::shared_ptr< Bindings const > | bindings, |
|
|
RunDone | done ) |
|
inline |
Runs it, queues the run or refuses it, as its concurrency says.
- Parameters
-
| body | The body. |
| bindings | The names bound where the run was started, for onSuccess and onError. |
| done | Called once the run settles, or at once when it is refused. |
Definition at line 3755 of file interpreter.hpp.
◆ pending()
| bool morph::ui::detail::MutationRuntime::pending |
( |
| ) |
const |
|
inlinenodiscard |
Whether a run is in flight or queued. A tracked read.
- Returns
- It.
Definition at line 2040 of file interpreter.hpp.
◆ result()
| Value morph::ui::detail::MutationRuntime::result |
( |
| ) |
const |
|
inlinenodiscard |
The last applied result. A tracked read.
- Returns
- It.
Definition at line 2044 of file interpreter.hpp.
◆ error()
| Value morph::ui::detail::MutationRuntime::error |
( |
| ) |
const |
|
inlinenodiscard |
The last applied failure's text, or null. A tracked read.
- Returns
- It.
Definition at line 2048 of file interpreter.hpp.
◆ errorKind()
| Value morph::ui::detail::MutationRuntime::errorKind |
( |
| ) |
const |
|
inlinenodiscard |
The last applied failure's kind, or null. A tracked read.
- Returns
- It.
Definition at line 2052 of file interpreter.hpp.
◆ decl()
| MutationDecl const & morph::ui::detail::MutationRuntime::decl |
( |
| ) |
const |
|
inlinenodiscardnoexcept |
◆ typeId()
| std::string const & morph::ui::detail::MutationRuntime::typeId |
( |
| ) |
const |
|
inlinenodiscardnoexcept |
The documentation for this class was generated from the following file: