# \[Accepted\] SE-0338: Clarify the Execution of Non-Actor-Isolated Async Functions

**URL:** <https://forums.swift.org/t/accepted-se-0338-clarify-the-execution-of-non-actor-isolated-async-functions/54929>\
**Category:** Announcements\
**Created:** [January 28, 2022, 5:44am UTC](https://forums.swift.org/t/accepted-se-0338-clarify-the-execution-of-non-actor-isolated-async-functions/54929 "2022-01-28T05:44:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Douglas\_Gregor](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/douglas_gregor/32/1362_2.png) [@Douglas\_Gregor](https://forums.swift.org/u/Douglas_Gregor)\
**Post date:** [January 28, 2022, 5:44am UTC](https://forums.swift.org/t/accepted-se-0338-clarify-the-execution-of-non-actor-isolated-async-functions/54929/1 "2022-01-28T05:44:45Z")

</div>

Hello Swift Community,

The [review](https://forums.swift.org/t/se-0338-clarify-the-execution-of-non-actor-isolated-async-functions/54621) of [SE-0338 "Clarify the Execution of Non-Actor-Isolated Async Functions"](https://github.com/apple/swift-evolution/blob/main/proposals/0338-clarify-execution-non-actor-async.md) has completed. The Core Team has decided to **accept** this proposal.

Thank you to everyone who participated in the review and pitch!

Doug Gregor  
Review Manager

---

<div class="post-metadata">

**Author:** ![pyretttt](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/pyretttt/32/21761_2.png) [@pyretttt](https://forums.swift.org/u/pyretttt)\
**Post date:** [February 11, 2022, 12:16pm UTC](https://forums.swift.org/t/accepted-se-0338-clarify-the-execution-of-non-actor-isolated-async-functions/54929/2 "2022-02-11T12:16:25Z")

</div>

Which decision core team decided to implement?  
Main one - switch non isolated functions enter/return to generic executor.  
Or always inherit isolated context from the caller?  
Third one looks like overhead with unclear restrictions

Thanks)

---

<div class="post-metadata">

**Author:** ![Douglas\_Gregor](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/douglas_gregor/32/1362_2.png) [@Douglas\_Gregor](https://forums.swift.org/u/Douglas_Gregor)\
**Post date:** [February 11, 2022, 5:53pm UTC](https://forums.swift.org/t/accepted-se-0338-clarify-the-execution-of-non-actor-isolated-async-functions/54929/3 "2022-02-11T17:53:07Z")

</div>

> [@pyretttt](#):
>
> Which decision core team decided to implement?  
> Main one - switch non isolated functions enter/return to generic executor.

The core team accepted the semantics specified by the proposal, which you refer to as the "main one": non-isolated `async` functions run on the generic executor (which is not associated with any actor).

Doug

---

<div class="post-metadata">

**Author:** ![pyretttt](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/pyretttt/32/21761_2.png) [@pyretttt](https://forums.swift.org/u/pyretttt)\
**Post date:** [February 14, 2022, 12:52pm UTC](https://forums.swift.org/t/accepted-se-0338-clarify-the-execution-of-non-actor-isolated-async-functions/54929/4 "2022-02-14T12:52:14Z")

</div>

Thank you
