Skip to content

Commit 2bd88a1

Browse files
committed
Fix typo
1 parent 51e98a3 commit 2bd88a1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Sources/AsyncQueue/AsyncQueue.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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 {

0 commit comments

Comments
 (0)