forked from firka/flutter
Remove doc reference to the compute method (flutter/engine#38246)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user