|
morph 0.1.0
Asynchronous bridge between GUI thread and business models
|
Options of a mutation (spec 5 §5). More...
#include <author.hpp>
Public Attributes | |
| Body< Action > | body |
| The body; empty sends the body each run gives. | |
| Mode | concurrency = Mode::Exclusive |
| What a run does while another is in flight. | |
| AnyHandle | serialKey |
| The queue key of serial runs. | |
| std::optional< Optimistic > | optimistic |
| The row a run predicts before its reply. | |
| Commands | onSuccess |
| Commands run after a success. | |
| Commands | onError |
| Commands run after a failure. | |
| bool | offlineQueue = false |
| Whether a run that cannot reach the server is queued offline. | |
Options of a mutation (spec 5 §5).
| Action | The action it runs. |
Definition at line 1700 of file author.hpp.
| Body<Action> morph::ui::author::MutationOptions< Action >::body |
The body; empty sends the body each run gives.
Definition at line 1702 of file author.hpp.
| Mode morph::ui::author::MutationOptions< Action >::concurrency = Mode::Exclusive |
What a run does while another is in flight.
Definition at line 1704 of file author.hpp.
| AnyHandle morph::ui::author::MutationOptions< Action >::serialKey |
The queue key of serial runs.
Definition at line 1706 of file author.hpp.
| std::optional<Optimistic> morph::ui::author::MutationOptions< Action >::optimistic |
The row a run predicts before its reply.
Definition at line 1708 of file author.hpp.
| Commands morph::ui::author::MutationOptions< Action >::onSuccess |
Commands run after a success.
Definition at line 1710 of file author.hpp.
| Commands morph::ui::author::MutationOptions< Action >::onError |
Commands run after a failure.
Definition at line 1712 of file author.hpp.
| bool morph::ui::author::MutationOptions< Action >::offlineQueue = false |
Whether a run that cannot reach the server is queued offline.
Definition at line 1714 of file author.hpp.