Spell check of Flutter docs (#45200)
No code changes, just comments: I spell-checked all the comments in the repo.
This commit is contained in:
@@ -25,7 +25,7 @@ bool _isTaskRegistered = false;
|
||||
/// The task does not run immediately but waits for the request via the
|
||||
/// VM service protocol to run it.
|
||||
///
|
||||
/// It is ok for a [task] to perform many things. However, only one task can be
|
||||
/// It is OK for a [task] to perform many things. However, only one task can be
|
||||
/// registered per Dart VM.
|
||||
Future<TaskResult> task(TaskFunction task) {
|
||||
if (_isTaskRegistered)
|
||||
@@ -143,7 +143,7 @@ class _TaskRunner {
|
||||
});
|
||||
}
|
||||
|
||||
/// Disables the keep-alive port, allowing the VM to exit.
|
||||
/// Disables the keepalive port, allowing the VM to exit.
|
||||
void _closeKeepAlivePort() {
|
||||
_startTaskTimeout?.cancel();
|
||||
_keepAlivePort?.close();
|
||||
|
||||
@@ -602,7 +602,7 @@ int parseServicePort(String line, {
|
||||
return matches.isEmpty ? null : int.parse(matches[0].group(2));
|
||||
}
|
||||
|
||||
/// Tries to extract a Uri from the string.
|
||||
/// Tries to extract a URL from the string.
|
||||
///
|
||||
/// The `prefix`, if specified, is a regular expression pattern and must not contain groups.
|
||||
/// `prefix` defaults to the RegExp: `An Observatory debugger .* is available at: `.
|
||||
|
||||
Reference in New Issue
Block a user