Skip to content

Commit

Permalink
Remove doc reference to the compute method (flutter#38246)
Browse files Browse the repository at this point in the history
  • Loading branch information
ueman committed Dec 15, 2022
1 parent a7ec07f commit 61e95ba
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/ui/platform_dispatcher.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1156,8 +1156,7 @@ class PlatformDispatcher {
///
/// This callback is not directly invoked by errors in child isolates of the
/// root isolate. Programs that create new isolates must listen for errors on
/// those isolates and forward the errors to the root isolate. An example of
/// this can be found in the Flutter framework's `compute` function.
/// those isolates and forward the errors to the root isolate.
ErrorCallback? get onError => _onError;
set onError(ErrorCallback? callback) {
_onError = callback;
Expand Down

0 comments on commit 61e95ba

Please sign in to comment.