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

Options of a query (spec 5 §5). More...

#include <author.hpp>

Public Attributes

AnyHandle when
 The gate; absent is always on.
std::chrono::milliseconds debounce {0}
 How long the body must be stable before a fetch.
std::chrono::milliseconds refreshEvery {0}
 The polling interval; zero does not poll.
std::chrono::milliseconds staleTime {0}
 How long a cached value counts as fresh.

Detailed Description

Options of a query (spec 5 §5).

Definition at line 1612 of file author.hpp.

Member Data Documentation

◆ when

AnyHandle morph::ui::author::QueryOptions::when

The gate; absent is always on.

Definition at line 1614 of file author.hpp.

◆ debounce

std::chrono::milliseconds morph::ui::author::QueryOptions::debounce {0}

How long the body must be stable before a fetch.

Definition at line 1616 of file author.hpp.

◆ refreshEvery

std::chrono::milliseconds morph::ui::author::QueryOptions::refreshEvery {0}

The polling interval; zero does not poll.

Definition at line 1618 of file author.hpp.

◆ staleTime

std::chrono::milliseconds morph::ui::author::QueryOptions::staleTime {0}

How long a cached value counts as fresh.

Definition at line 1620 of file author.hpp.


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