# SE-0304 (2nd review): Structured Concurrency

**URL:** <https://forums.swift.org/t/se-0304-2nd-review-structured-concurrency/47217>\
**Category:** Proposal Reviews\
**Created:** [April 7, 2021, 1:43am UTC](https://forums.swift.org/t/se-0304-2nd-review-structured-concurrency/47217 "2021-04-07T01:43:30Z")\
**Posts on this page:** 1\
**Showing post:** 41

<div class="post-metadata">

**Author:** ![Karl](https://avatars.discourse-cdn.com/v4/letter/k/34f0e0/32.png) [@Karl](https://forums.swift.org/u/Karl)\
**Post date:** [April 14, 2021, 11:09am UTC](https://forums.swift.org/t/se-0304-2nd-review-structured-concurrency/47217/41 "2021-04-14T11:09:16Z")

</div>

More importantly, I've seen a few of these proposals mention how important scheduling is, and how executors and tasks need to work together to do that.

AIUI, priority is the way that a task communicates metadata to its executor ("I'm a background task", or "I have something to do with immediate feedback to the user", or by extension, "I'm an audio task" or "I'm a physics simulation task"). It's purpose is to inform the executor's scheduling decisions. It really should scale beyond the immediate needs of UI applications on Apple platforms.

This is why [I asked](https://forums.swift.org/t/support-custom-executors-in-swift-concurrency/44425/43) (and continue to wonder) about executors being able to access the `TaskLocalStorage` of enqueued jobs. If that was possible, you might be able to attach other kinds of priority information which custom executors could use.

---

_[View the full topic](https://forums.swift.org/t/se-0304-2nd-review-structured-concurrency/47217)._
