title: How to call a Java method signature with single parameter and lambda in Kotlin?
body: <pre><code>public final &lt;E extends Throwable&gt; Mono&lt;T&gt; onErrorResume(Class&lt;E&gt; type,
              Function&lt;? super E, ? extends Mono&lt;? extends T&gt;&gt; fallback)
  </code></pre>
  <p>I am trying to call this function for last 20 minutes from Kotlin. I've tried round brackets with plain class and '{}' lambda , inside or outside I can't compile this. TT.</p>