bod
06/12/2021, 9:28 AMFuture<Void>
in a Kotlin library (so it's nice for Java users)? I'd like to avoid returning Future<Unit>
because this would expose a Kotlin specific type to my API.bod
06/12/2021, 9:49 AMFuture<Void?>
instead (and simply return null
)ephemient
06/12/2021, 3:57 PMFuture<Nothing?>
will be seen as Future<Void>
by Java consumersbod
06/12/2021, 5:17 PM