mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Remove doc reference to the compute method (flutter/engine#38246)
This commit is contained in:
parent
0b6b169ecb
commit
41bfb453f9
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user