I understand the frustration, 2 years later this question as well as the thread mentioned above in the Swift forums remain without a proper answer. However, I'm offering here two solutions:
Use an Open Source Combine compatible library: Github/cx-org/CombineX
Wait a bit longer for the latest Swift update, which includes async/await support.
Post
Replies
Boosts
Views
Activity
Now that getStreamsToHost is deprecated. What is the recommended call to open TCP Socket streams?
https://developer.apple.com/documentation/foundation/stream/1414311-getstreamstohost