Skip to content
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

Add ready promise and close reason #12

Merged
merged 2 commits into from
Sep 29, 2023
Merged

Conversation

jasnell
Copy link
Collaborator

@jasnell jasnell commented Sep 8, 2023

Adds a socket.ready promise that is resolved when the socket connection has been established.

Adds an optional reason argument to socket.close() that is to be forwarded on to the underlying ReadableStream and WritableStream when they are canceled/aborted.

Adds a `socket.ready` promise that is resolved when the socket
connection has been established.

Adds an optional `reason` argument to `socket.close()` that is
to be forwarded on to the underlying `ReadableStream` and
`WritableStream` when they are canceled/aborted.
index.bs Show resolved Hide resolved
index.bs Outdated Show resolved Hide resolved
@dom96 dom96 merged commit 1d42a50 into main Sep 29, 2023
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.

None yet

3 participants