Aria 2.0.0
C++23 MVVM framework (C++20 minimum) — reactive, coroutine-first, ABI-layered
Loading...
Searching...
No Matches
property_ops.hpp File Reference
#include "aria/abi/export.hpp"
#include "aria/property.hpp"
#include "aria/scheduler.hpp"
#include "aria/subscription.hpp"
#include <chrono>
#include <cstdint>
#include <functional>
#include <memory>
#include <type_traits>
#include <utility>
Include dependency graph for property_ops.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  aria::IDelayedScheduler
 Tiny interface — anything that can post a function to run after a delay. More...

Namespaces

namespace  aria

Functions

template<PropertyValue T>
std::shared_ptr< Property< T > > aria::distinct_until_changed (Property< T > &source)
template<PropertyValue T>
std::shared_ptr< Property< T > > aria::debounce (Property< T > &source, std::chrono::milliseconds quiet, IDelayedScheduler &timer)
template<PropertyValue T>
std::shared_ptr< Property< T > > aria::throttle (Property< T > &source, std::chrono::milliseconds cooldown, IDelayedScheduler &timer)
template<PropertyValue T, PropertyValue Acc, typename Reducer>
std::shared_ptr< Property< Acc > > aria::scan (Property< T > &source, Acc seed, Reducer reduce)
template<PropertyValue A, PropertyValue B, typename Combiner>
auto aria::combine_latest (Property< A > &a, Property< B > &b, Combiner combine) -> std::shared_ptr< Property< std::invoke_result_t< Combiner &, const A &, const B & > > >