File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 3
3
Proposed in [ SE-0461] , this feature changes the behavior of nonisolated async
4
4
functions to run on the actor to which the caller is isolated (if any) by
5
5
default, and provides an explicit way to express the execution semantics for
6
- these functions:
7
- * The ` @execution(concurrent) ` attribute specifies that a function must always
6
+ these functions.
7
+
8
+ This feature was proposed in [ SE-0461] ( https://github.com/swiftlang/swift-evolution/blob/main/proposals/0461-async-function-isolation.md )
9
+
10
+ * The ` @concurrent ` attribute specifies that a function must always
8
11
switch off of an actor to run.
9
12
This is the default behavior without ` AsyncCallerExecution ` .
10
- * The ` @execution(caller )` attribute specifies that a function must always
13
+ * The ` nonisolated(nonsending )` modifier specifies that a function must always
11
14
run on the caller's actor.
12
15
This is the default behavior with ` AsyncCallerExecution ` .
13
16
You can’t perform that action at this time.
0 commit comments