Skip to content

Support for future cancellation #3

@tbekas

Description

@tbekas

The Future[T] api supports cancelling, so it would be nice to propagate this cancellation to the submitted task, if the task didn't start already executing. Probably nim-taskpools doesn't allow that, but maybe we could achieve it anyway by doing additional check at the beginning of the task to see if it wasn't cancelled, if it was, return immediately instead of doing possibly an expensive computation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions