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

Make repository functions suspending #20

Closed

Conversation

nkly-wolt
Copy link
Collaborator

Add suspend modifier to the functions in
IdempotentResponseRepository interface. The change enables usage of async clients (e.g. kreds or jooq-r2dbc) in repository implementation without runBlocking while requiring almost no changes to existing blocking implementations.

@nkly-wolt nkly-wolt requested a review from muatik as a code owner August 14, 2024 16:22
Add `suspend` modifier to the functions in
`IdempotentResponseRepository` interface. The change enables usage of
async clients (e.g. [kreds][1] or jooq-r2dbc) in repository
implementation without `runBlocking` while requiring almost no changes
to existing blocking implementations.

[1]: https://github.com/crackthecodeabhi/kreds
@nkly-wolt nkly-wolt force-pushed the make-repository-interface-suspending branch from bcad0d6 to 165de73 Compare August 21, 2024 09:42
@nkly-wolt nkly-wolt closed this Aug 21, 2024
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