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

Pipe Notifications, Checks, & Extensions #31

Merged
merged 4 commits into from
Oct 16, 2023
Merged

Conversation

DJGosnell
Copy link
Member

@DJGosnell DJGosnell commented Oct 16, 2023

Changes

  • Added NexusDuplexPipe.CompleteTask property to notify when the pipe is complete.
  • Added additional checks to prevent passing a used or wrong pipe to a proxy invocation. This could happen by creating a pipe in the wrong nexus and passing it to the opposite nexus.
  • Added tests.
  • Added ReadBatchUntilComplete and overloads to allow for batch reading.
  • Refactored to remove needless list creations and allowed passing of a list to the readers.
  • Extracted some methods into extension methods instead of hard class methods.
  • ReadAsync now returns a bool to relay whether or not the reading is complete.

…s complete.

Added tests.
Added additional checks to prevent passing a used or wrong pipe to a proxy invocation.
…reading.

Refactored to remove needless list creations and allowed passing of a list to the readers.
Extracted some methods into extension methods instead of hard class methods.
ReadAsync now returns a bool to relay whether or not the reading is complete.
@DJGosnell DJGosnell changed the title Pipe Notifications & Checks Pipe Notifications, Checks, & Extensions Oct 16, 2023
@DJGosnell DJGosnell merged commit 175e39a into master Oct 16, 2023
1 check passed
@DJGosnell DJGosnell deleted the pipe-enhancements branch October 16, 2023 19:17
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