Last active
April 21, 2019 12:54
-
-
Save sirius2k/240fd6383f4089d61220bff79585cbc6 to your computer and use it in GitHub Desktop.
Kotlin Mono Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val accountMono : Mono<Account> = Mono.just(Account(1, "admin")) | |
val accountMono : Mono<Account> = Account(1, "Admin").toMono() | |
// Type Inference | |
val accountMono = Account(1, "Admin").toMono() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment