You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Tests/AsyncQueueTests/SemaphoreTests.swift
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -115,14 +115,15 @@ final class SemaphoreTests: XCTestCase {
115
115
// MARK: - Semaphore Extension
116
116
117
117
privateextensionSemaphore{
118
-
/// Enqueues an asynchronous task. This method suspends the caller until the asynchronous task has begun, ensuring ordered execution of enqueued tasks.
118
+
/// Enqueues an asynchronous task and increments a counter after the task completes.
119
+
/// This method suspends the caller until the asynchronous task has begun, ensuring ordered execution of enqueued tasks.
119
120
/// - Parameter task: A unit of work that returns work to execute after the task completes and the count is incremented.
0 commit comments