Skip to content

Async abortable handlers #12

@rmja

Description

@rmja

It would be really useful if the callback registered for a menu item could return a future, and if that future reflected the duration of the command such that the prompt is only shown after the future has completed. It should somehow be possible to abort the running command with e.g. Ctrl+C which should drop the future show the prompt.

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