#include <nxt/signal.hpp>
template <typename T>
bound_publisher class
A publisher with a value baked in. Calling push() (no args) pushes the bound value into the underlying signal.
Constructors, destructors, conversion operators
-
bound_publisher(detail::
publisher<T> pub, T value)
Public functions
- auto disconnected() const → bool noexcept
-
auto push() const → nxt::
task<void>