-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
onSocketClose option cannot be used with ThreadStream (multistream) #77
Comments
That's expected. Functions cannot be serialized across worker thread boundaries. You'll need to use the programmatic API and create your own transport that reuse this one if you want to use that. |
1 similar comment
That's expected. Functions cannot be serialized across worker thread boundaries. You'll need to use the programmatic API and create your own transport that reuse this one if you want to use that. |
I think we should add a note in the documentation.
Do we already have some documentation on how to proceed? |
@mcollina Maybe we should emit an event |
go for it, keep the callback too |
Given the following code:
The following exception is thrown:
The text was updated successfully, but these errors were encountered: