EventLoopScheduler Class (System.Reactive.Concurrency) | Microsoft Docs
参考微软的官方文档。EventLoopScheduler可以实现定时调度任务。
public static IDisposable Schedule(this IScheduler scheduler, TimeSpan dueTime, Action action);
如果在action的最后再调用一次同样的Schedule,就可以实现循环了。
本文介绍如何使用Microsoft Docs中的EventLoopScheduler类在ReactiveConcurrency中进行定时任务调度,并探讨如何通过连续调用来创建循环执行。
EventLoopScheduler Class (System.Reactive.Concurrency) | Microsoft Docs
参考微软的官方文档。EventLoopScheduler可以实现定时调度任务。
public static IDisposable Schedule(this IScheduler scheduler, TimeSpan dueTime, Action action);
如果在action的最后再调用一次同样的Schedule,就可以实现循环了。

被折叠的 条评论
为什么被折叠?