Skip to content

[labs/task] Allow tasks to be canceled #3997

@justinfagnani

Description

@justinfagnani

Should this be an RFC?

  • This is not a substantial change

Which package is this a feature request for?

Task (@lit-labs/task)

Description

Tasks should be cancelable with an .abort() method that aborts the AbortSignal that we not pass to task functions.

Alternatives and Workarounds

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions