Schedule icon indicating copy to clipboard operation
Schedule copied to clipboard

Suspension problem

Open vBoykoGit opened this issue 5 years ago • 0 comments

I have a task:

let task = Plan.every(5.seconds).do(action: startSome)

When I suspend() it somewhere and then resume for 10 seconds, I have 2 immediate calls of startSome. But what I want is call startSome in (5sec - time remaining when I called suspend). Is it possible?

vBoykoGit avatar Apr 20 '20 14:04 vBoykoGit