Skip to content
Advertisement

RSocket retrieveFlux() with Kotlin

I am trying to write a client for my server (both in Kotlin and using Spring Reactive Web). I encountered this problem while trying to use the RSocket. How can I get a Flux using RSocket? code

JavaScript

Advertisement

Answer

You need to get reference of Class. You can use either Int::class.java or Int::class depending whether you need java Class or KClass reference

JavaScript
User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement