Skip to content

Add future<T>::cancel() #30

@kammce

Description

@kammce

When called, if a the future's state is a coroutine, then call self_destruct() and set the state to std::noop_coroutine. Otherwise, do nothing.

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