Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Sources/WebSocketActors/Continuation.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ import Foundation
@inlinable func withContinuation<T>(function: String = #function,
_ body: (UnsafeContinuation<T, Never>) -> Void) async -> T
{
await withUnsafeContinuation(function: function, body)
await withUnsafeContinuation(body)
}

@inlinable func withThrowingContinuation<T>(function: String = #function,
_ body: (UnsafeContinuation<T, Error>) -> Void) async throws -> T
{
try await withUnsafeThrowingContinuation(function: function, body)
try await withUnsafeThrowingContinuation(body)
}
#endif

Expand Down
2 changes: 1 addition & 1 deletion Tests/WebSocketActorTests/ActorIdentityTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Created by Stuart A. Malone on 11/2/23.
//

@testable import WebSocketActors
import WebSocketActors
import XCTest

final class ActorIdentityTests: XCTestCase {
Expand Down
2 changes: 1 addition & 1 deletion Tests/WebSocketActorTests/WebSocketActorTests.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Distributed
import Logging
import NIO
@testable import WebSocketActors
import WebSocketActors
import XCTest

typealias DefaultDistributedActorSystem = WebSocketActorSystem
Expand Down