Fix typo in compute documentation: "captures" -> "capture" (#106624)
This commit is contained in:
parent
02ad971904
commit
78c92712a6
@ -78,7 +78,7 @@ typedef ComputeImpl = Future<R> Function<Q, R>(ComputeCallback<Q, R> callback, Q
|
||||
///
|
||||
/// Using closures must be done with care. Due to
|
||||
/// [dart-lang/sdk#36983](https://github.com/dart-lang/sdk/issues/36983) a
|
||||
/// closure may captures objects that, while not directly used in the closure
|
||||
/// closure may capture objects that, while not directly used in the closure
|
||||
/// itself, may prevent it from being sent to an isolate.
|
||||
/// {@endtemplate}
|
||||
///
|
||||
|
Loading…
x
Reference in New Issue
Block a user