Skip to content

Suspension problem #63

Description

@vBoykoGit

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions