IceCubesApp icon indicating copy to clipboard operation
IceCubesApp copied to clipboard

Replaced to async method for URLSessionWebSocketTask.receive().

Open kitwtnb opened this issue 1 year ago • 2 comments

Using MainActor properties in an unstructured task would cause build errors in Swift 6, so URLSessionWebSocketTask.receive(completionHandler:) was replaced with URLSessionWebSocketTask.receive() async throws.

kitwtnb avatar Jul 25 '24 08:07 kitwtnb

This is cool thanks! Will try in a bit and merge!

Dimillian avatar Jul 29 '24 05:07 Dimillian

This is weird, I've been testing it extensively and never received any message.

Dimillian avatar Jul 29 '24 06:07 Dimillian