fix(macos): share gateway websocket connection

This commit is contained in:
Peter Steinberger
2025-12-12 21:34:33 +00:00
parent ce8db12b22
commit e944a0239d
11 changed files with 300 additions and 105 deletions

View File

@@ -93,7 +93,7 @@ import Testing
let channel = GatewayChannelActor(
url: URL(string: "ws://example.invalid")!,
token: nil,
session: session)
session: WebSocketSessionBox(session: session))
do {
_ = try await channel.request(method: "test", params: nil, timeoutMs: 10)
@@ -108,4 +108,3 @@ import Testing
try? await Task.sleep(nanoseconds: 250 * 1_000_000)
}
}