Skip to content

Commit 517884d

Browse files
committed
Updated documentation for collect function regarding isolate groups #533
1 parent a75eb7e commit 517884d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pkgs/coverage/lib/src/collect.dart

+3-2
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,9 @@ const _debugTokenPositions = bool.fromEnvironment('DEBUG_COVERAGE');
4242
/// If [scopedOutput] is non-empty, coverage will be restricted so that only
4343
/// scripts that start with any of the provided paths are considered.
4444
///
45-
/// If [isolateIds] is set, the coverage gathering will be restricted to only
46-
/// those VM isolates.
45+
/// If [isolateIds] is set, coverage gathering **will not be restricted** to
46+
/// only those VM isolates. Instead, coverage will be collected for **all isolates
47+
/// in the same isolate group** as the provided isolate(s).
4748
///
4849
/// If [coverableLineCache] is set, the collector will avoid recompiling
4950
/// libraries it has already seen (see VmService.getSourceReport's

0 commit comments

Comments
 (0)