ReactivePlusPlus
ReactiveX implementation for C++20
Loading...
Searching...
No Matches
rpp::schedulers::delay_from_now Struct Reference

Timepoint of next execution would be calculcated from NOW timpoint (time of returning from schedulable) More...

#include <fwd.hpp>

Public Member Functions

 delay_from_now (duration duration={})
 

Public Attributes

duration value
 

Detailed Description

Timepoint of next execution would be calculcated from NOW timpoint (time of returning from schedulable)

Implementation looks like this

const auto duration_from_now = schedulable();
schedule(now() + duration_from_now, schedulable);

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