Loading [MathJax]/extensions/tex2jax.js
Iros
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages Concepts
Loading...
Searching...
No Matches
repeat_effect.h
Go to the documentation of this file.
1#pragma once
2
5
6namespace di::execution {
7namespace repeat_effect_ns {
9 template<concepts::SenderOf<SetValue()> Send>
10 auto operator()(Send&& sender) const -> concepts::SenderOf<SetValue()> auto {
12 return function::tag_invoke(*this, util::forward<Send>(sender));
13 } else {
14 return execution::repeat_effect_until(util::forward<Send>(sender), [] {
15 return false;
16 });
17 }
18 }
19 };
20}
21
22constexpr inline auto repeat_effect = repeat_effect_ns::Function {};
23}
Definition sender_of.h:26
Definition tag_invoke.h:33
Definition repeat_effect.h:7
Definition bulk.h:30
constexpr auto repeat_effect_until
Definition repeat_effect_until.h:130
constexpr auto repeat_effect
Definition repeat_effect.h:22
constexpr tag_invoke_detail::TagInvokeFn tag_invoke
Definition tag_invoke.h:22
Definition set_value.h:6
Definition repeat_effect.h:8
auto operator()(Send &&sender) const -> concepts::SenderOf< SetValue()> auto
Definition repeat_effect.h:10