Skip to content

Commit 0e2bdcf

Browse files
committed
AsyncSemaphore is Sendable
1 parent e16343b commit 0e2bdcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Semaphore/AsyncSemaphore.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ import Foundation
4141
///
4242
/// - ``wait()``
4343
/// - ``waitUnlessCancelled()``
44-
public final class AsyncSemaphore {
44+
public final class AsyncSemaphore: @unchecked Sendable {
4545
/// "Waiting for a signal" is easily said, but several possible states exist.
4646
private class Suspension {
4747
enum State {

0 commit comments

Comments
 (0)