Skip to content

Conversation

@aregler
Copy link
Contributor

@aregler aregler commented Sep 26, 2025

Hi 👋🏻

In Swift 6.2 the naming of Tasks was introduced in SE-0469.
This proposal allows developers to assign human-readable names to tasks, which show up in debugging and profiling tools.

I think this also could be useful when working with the .run effect in TCA.

Usage

case .tapped:
   .run(name: "🔄 Button tapped response-task ") { send in
      await send(.response)
}

Example:

image

Thank you for all your great work,

Arsatius

Copy link
Member

@stephencelis stephencelis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aregler Thanks! Pushed a little bit of cleanup, but this looks good to us!

@stephencelis stephencelis merged commit a851f82 into pointfreeco:main Sep 27, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants