You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For normal schedulers which uses default_now(), it uses datetime.now() implementation
For some schedulers like AsyncIOScheduler, it uses some event_loop internal monotonic clock for self.now, which may be far from current timestamp, and may break schedule_absolute if a user passes regular datetime.
Why is it needed to use per-scheduler now implementation? If this is the expected behavior, I think we might consider clarify the doc as such
end_time (Union[datetime, timedelta, float]) – Time to stop taking elements from the source sequence.
If this value is less than or equal to datetime.utcnow(), the result stream will complete immediately.
^^^^^^^^^^^ scheduler.now()
The text was updated successfully, but these errors were encountered:
Hi, I found that operators like
depends on
to trigger, which then was implemented as
For normal schedulers which uses
default_now()
, it usesdatetime.now()
implementationFor some schedulers like
AsyncIOScheduler
, it uses some event_loop internal monotonic clock forself.now
, which may be far from current timestamp, and may breakschedule_absolute
if a user passes regular datetime.Why is it needed to use per-scheduler now implementation? If this is the expected behavior, I think we might consider clarify the doc as such
The text was updated successfully, but these errors were encountered: