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 IO injection abstraction #594

Merged
merged 6 commits into from
Oct 31, 2024
Merged

Conversation

archigup
Copy link
Member

@archigup archigup commented Oct 31, 2024

The GglReader and GglWriter types can be used by APIs to abstract over IO, and let the caller inject the appropriate IO operations.

For example JSON encode could take a writer, thus allowing a caller to use it to serialize onto a socket, into a buffer, into a file, or wherever else (this example not implemented yet).

@archigup archigup enabled auto-merge (rebase) October 31, 2024 21:17
@archigup archigup merged commit 929893e into aws-greengrass:main Oct 31, 2024
17 checks passed
@archigup archigup deleted the io_injection branch October 31, 2024 22:00
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.

2 participants