Skip to content

Commit 9b19bfd

Browse files
gaaclarkesfshaza2parlough
authored
Updated the threading notice for platform channel responses. (#7901)
This updates the guidelines about threading and the responses to platform channels. Once the following PRs are on `main` all official platforms (minus web where it doesn't make sense) support thread-safe responses. issue: flutter/flutter#93945 Do no land until the following are on stable: 1) flutter/engine#37689 1) flutter/engine#37607 1) flutter/engine#36909 ## Presubmit checklist - [x] This PR doesn’t contain automatically generated corrections (Grammarly or similar). - [x] This PR follows the [Google Developer Documentation Style Guidelines](https://developers.google.com/style) — for example, it doesn’t use _i.e._ or _e.g._, and it avoids _I_ and _we_ (first person). - [x] This PR uses [semantic line breaks](https://github.com/dart-lang/site-shared/blob/main/doc/writing-for-dart-and-flutter-websites.md#semantic-line-breaks) of 80 characters or fewer. Co-authored-by: Shams Zakhour (ignore Sfshaza) <[email protected]> Co-authored-by: Parker Lougheed <[email protected]>
1 parent 67c8fcf commit 9b19bfd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/platform-integration/platform-channels.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1222,8 +1222,7 @@ either invoke them from any `Isolate` that is the root
12221222
The handlers for the platform side can execute on the platform's main thread
12231223
or they can execute on a background thread if using a Task Queue.
12241224
You can invoke the platform side handlers asynchronously
1225-
and on any thread when the Task Queue API is available;
1226-
otherwise, they must be invoked on the platform thread.
1225+
and on any thread.
12271226

12281227
{{site.alert.note}}
12291228
On Android, the platform's main thread is sometimes

0 commit comments

Comments
 (0)