# SE-0311 (3rd review): Task-local values

**URL:** <https://forums.swift.org/t/se-0311-3rd-review-task-local-values/49122>\
**Category:** Proposal Reviews\
**Tags:** concurrency\
**Created:** [June 2, 2021, 9:18am UTC](https://forums.swift.org/t/se-0311-3rd-review-task-local-values/49122 "2021-06-02T09:18:11Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![ktoso](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/ktoso/32/44526_2.png) [@ktoso](https://forums.swift.org/u/ktoso)\
**Post date:** [June 2, 2021, 10:48pm UTC](https://forums.swift.org/t/se-0311-3rd-review-task-local-values/49122/5 "2021-06-02T22:48:34Z")

</div>

Thanks for the reviews over the last few rounds, this has shaped up quite well.

> [@Chris\_Lattner3](#):
>
> Would this just be a TLV sort of thing that isn't inheritable across tasks, or something more?

That specific capability "don't inherit" was something that came up in a few contexts and is definitely something we can do in the future.

With the property wrapper approach it may be a bit weird how to express this, we may need a new wrapper? Because the goal with `@TaskLocal` would be to cause compile time Sendable-check failures once we're ready to enable them across the board, so it'd be hard to not do that check for `@TaskLocal(inherit: .never)`, but it's something we could do in _some way_ for sure.

---

_[View the full topic](https://forums.swift.org/t/se-0311-3rd-review-task-local-values/49122)._
