morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
morph::ui::detail::TransferState Struct Reference

The values of an upload transfer id (spec 6 §18). More...

#include <interpreter.hpp>

Public Member Functions

 TransferState (reactive::Runtime &runtime)
 An idle transfer.

Public Attributes

reactive::Signal< Value > progress
 0 to 1, or null.
reactive::Signal< bool > pending
 Whether it is running.
reactive::Signal< Value > error
 The failure's text, or null.

Detailed Description

The values of an upload transfer id (spec 6 §18).

Definition at line 1508 of file interpreter.hpp.

Constructor & Destructor Documentation

◆ TransferState()

morph::ui::detail::TransferState::TransferState ( reactive::Runtime & runtime)
inlineexplicit

An idle transfer.

Parameters
runtimeThe runtime.

Definition at line 1511 of file interpreter.hpp.

Member Data Documentation

◆ progress

reactive::Signal<Value> morph::ui::detail::TransferState::progress

0 to 1, or null.

Definition at line 1513 of file interpreter.hpp.

◆ pending

reactive::Signal<bool> morph::ui::detail::TransferState::pending

Whether it is running.

Definition at line 1515 of file interpreter.hpp.

◆ error

reactive::Signal<Value> morph::ui::detail::TransferState::error

The failure's text, or null.

Definition at line 1517 of file interpreter.hpp.


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