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

improve AbstractPipe docs and IOContext handling as an AbstractPipe #52768

Merged
merged 1 commit into from
Jan 8, 2024

Conversation

vtjnash
Copy link
Sponsor Member

@vtjnash vtjnash commented Jan 5, 2024

Following some complains that AbstractPipe did not mention the functions that comprise its API, I have updated that and some other related details of its subtypes.

  1. Mention the expected API surface for AbstractPipe
  2. Expand the docs for Pipe as well
  3. And add better support for explicit type parameters to IOContext. This gives more options to users, such as creating an explicitly dynamic IOContext{IO}(io) to avoid excess specialization. Any explicitly set parameter should now be inherited by future IOContext constructions around it, rather than always directly adopting the typeof(io.io) type instead as the new parameter.

@vtjnash vtjnash added the domain:io Involving the I/O subsystem: libuv, read, write, etc. label Jan 5, 2024
1. Mention the expected API surface for AbstractPipe
2. Expand the docs for Pipe as well
3. And add better support for explicit type parameters to IOContext.
   This gives more options to users, such as creating an explicitly
   dynamic `IOContext{IO}(io)` to avoid excess specialization. Any
   explicitly set parameter should now be inherited by future
   `IOContext` constructions around it, rather than always directly
   adopting the `typeof(io.io)` type instead as the new parameter.
@vtjnash vtjnash added the status:merge me PR is reviewed. Merge when all tests are passing label Jan 7, 2024
@vtjnash vtjnash merged commit d07de16 into master Jan 8, 2024
5 of 8 checks passed
@vtjnash vtjnash deleted the jn/AbstractPipe-docs branch January 8, 2024 01:18
@IanButterworth IanButterworth removed the status:merge me PR is reviewed. Merge when all tests are passing label Jan 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain:io Involving the I/O subsystem: libuv, read, write, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants