File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -50,14 +50,14 @@ public final class AsyncQueue: Sendable {
5050 // MARK: Public
5151
5252 /// Schedules an asynchronous task for execution and immediately returns.
53- /// The schedueled task will not execute until all prior tasks have completed.
53+ /// The scheduled task will not execute until all prior tasks have completed.
5454 /// - Parameter task: The task to enqueue.
5555 public func async ( _ task: @escaping @Sendable ( ) async -> Void ) {
5656 taskStreamContinuation. yield ( task)
5757 }
5858
5959 /// Schedules an asynchronous throwing task and returns after the task is complete.
60- /// The schedueled task will not execute until all prior tasks have completed.
60+ /// The scheduled task will not execute until all prior tasks have completed.
6161 /// - Parameter task: The task to enqueue.
6262 /// - Returns: The value returned from the enqueued task.
6363 public func await< T> ( _ task: @escaping @Sendable ( ) async -> T ) async -> T {
@@ -69,7 +69,7 @@ public final class AsyncQueue: Sendable {
6969 }
7070
7171 /// Schedules an asynchronous task and returns after the task is complete.
72- /// The schedueled task will not execute until all prior tasks have completed.
72+ /// The scheduled task will not execute until all prior tasks have completed.
7373 /// - Parameter task: The task to enqueue.
7474 /// - Returns: The value returned from the enqueued task.
7575 public func await< T> ( _ task: @escaping @Sendable ( ) async throws -> T ) async throws -> T {
You can’t perform that action at this time.
0 commit comments