Skip to content

Add DatabaseClient Coroutines extensions #63

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

Closed
wants to merge 1 commit into from

Conversation

sdeleuze
Copy link
Contributor

This commit introduces Coroutines support for DatabaseClient functional API via Kotlin extensions that provide suspendable functions prefixed by await for Mono based APIs.

Extensions for Flux will be added when Kotlin/kotlinx.coroutines#254 will be fixed.

It also provides asType<Foo>() extensions useful for Reactive API as well.

This commit introduces Coroutines support for `DatabaseClient`
functional API via Kotlin extensions that provide suspendable
functions prefixed by `await` for `Mono` based APIs.

Extensions for `Flux` will be added when Kotlin/kotlinx.coroutines#254
will be fixed.

It also provides `asType<Foo>()` extensions useful for Reactive API
as well.
mp911de pushed a commit that referenced this pull request Feb 21, 2019
This commit introduces Coroutines support for `DatabaseClient`
functional API via Kotlin extensions that provide suspendable
functions prefixed by `await` for `Mono` based APIs.

Extensions for `Flux` will be added when Kotlin/kotlinx.coroutines#254
will be fixed.

It also provides `asType<Foo>()` extensions useful for Reactive API
as well.

Original pull request: #63.
mp911de added a commit that referenced this pull request Feb 21, 2019
Convert spaces to tabs. Replace version strings with managed dependencies. Javadoc.

Original pull request: #63.
@mp911de mp911de added the type: enhancement A general enhancement label Feb 21, 2019
@mp911de mp911de added this to the 1.0 M2 milestone Feb 21, 2019
@mp911de
Copy link
Member

mp911de commented Feb 21, 2019

Thanks a lot. That's merged and polished now.

@mp911de mp911de closed this Feb 21, 2019
sdeleuze added a commit to sdeleuze/spring-data-r2dbc that referenced this pull request Apr 3, 2019
mp911de pushed a commit that referenced this pull request Apr 3, 2019
This commit is a follow-up of gh-63.

Original pull request: #86.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants