MCPcopy Create free account
hub / github.com/AlexInLog/ReactivePlusPlus / window_toggle

Function window_toggle

src/rpp/rpp/operators/window_toggle.hpp:246–249  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

244 template<rpp::constraint::observable TOpeningsObservable, typename TClosingsSelectorFn>
245 requires rpp::constraint::observable<std::invoke_result_t<TClosingsSelectorFn, rpp::utils::extract_observable_type_t<TOpeningsObservable>>>
246 auto window_toggle(TOpeningsObservable&& openings, TClosingsSelectorFn&& closings_selector)
247 {
248 return details::window_toggle_t<std::decay_t<TOpeningsObservable>, std::decay_t<TClosingsSelectorFn>>{std::forward<TOpeningsObservable>(openings), std::forward<TClosingsSelectorFn>(closings_selector)};
249 }
250} // namespace rpp::operators

Callers 3

mainFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected