Skip to content

Conversation

@kubukoz
Copy link

@kubukoz kubukoz commented Sep 29, 2024

Partial implementation of the unstable WebSocketStream API. At the time of writing, doesn't work in Firefox but the consumer works very, very well in Chrome.

): F[Unit] = ???

def receive: F[Option[WSDataFrame]] = Async[F]
.fromPromise {
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be fromPromiseCancelable because otherwise, there's apparently no way to cancel a receive without waiting for another element.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant