Skip to content

Add names to tasks #31

Closed
Closed
@notgull

Description

@notgull

In order to make it easier to debug tasks, it should be possible to give tasks names.

I was thinking of an API like this:

Task::builder().name("my-task").spawn(async { println!("Hello world!"); });

Where, if the name() was occluded, it would be the same as Task::spawn.

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