File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,21 @@ CHANGELOG
2929Swift 5.5
3030---------
3131
32+ * [ SE-0323] [ ] :
33+
34+ The main function is executed with ` MainActor ` isolation applied, so functions
35+ and variables with ` MainActor ` isolation may be called and modified
36+ synchronously from the main function. If the main function is annotated with a
37+ global actor explicitly, it must be the main actor or an error is emitted. If
38+ no global actor annotation is present, the main function is implicitly run on
39+ the main actor.
40+
41+ The main function is executed synchronously up to the first suspension point.
42+ Any tasks enqueued by initializers in Objective-C or C++ will run after the
43+ main function runs to the first suspension point. At the suspension point, the
44+ main function suspends and the tasks are executed according to the Swift
45+ concurrency mechanisms.
46+
3247* [ SE-0313] [ ] :
3348
3449 Parameters of actor type can be declared as ` isolated ` , which means that they
You can’t perform that action at this time.
0 commit comments