Skip to content

Commit 7ffd52c

Browse files
authored
Task: Remove inaccurate docs (#49)
1 parent e96a8a7 commit 7ffd52c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Sources/ConcurrencyExtras/Task.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@ extension Task where Success == Never, Failure == Never {
88
/// [this Swift Forums post](https://forums.swift.org/t/reliably-testing-code-that-adopts-swift-concurrency/57304).
99
/// You may, however, prefer to use ``withMainSerialExecutor(operation:)-79jpc`` to improve the
1010
/// reliability of async tests, and to make their execution deterministic.
11-
///
12-
/// > Note: When invoked from ``withMainSerialExecutor(operation:)-79jpc``, or when
13-
/// > ``uncheckedUseMainSerialExecutor`` is set to `true`, `Task.megaYield()` is equivalent to
14-
/// > a single `Task.yield()`.
1511
public static func megaYield(count: Int = _defaultMegaYieldCount) async {
1612
// TODO: Investigate why mega yields are still necessary in TCA's test suite.
1713
// guard !uncheckedUseMainSerialExecutor else {

0 commit comments

Comments
 (0)