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

Removing results from Publication API #164

Merged
merged 1 commit into from
Jul 24, 2024

Conversation

ryan-summers
Copy link
Member

Fixes #159 by refactoring the Publication API to avoid forcing an unwrap() on all users, and instead moves the unwrap() to a new Publication::respond API for constructing a new publication.

Users that have a predefined topic no longer need to unnecessarily unwrap or call finish() at all.

@ryan-summers ryan-summers requested a review from jordens July 24, 2024 12:17
@jordens jordens merged commit cff0f57 into master Jul 24, 2024
7 checks passed
@jordens jordens deleted the issue/159/publication-simplification branch July 24, 2024 13:06
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.

avoid Publication::finish
2 participants