We give simple, regular names to suspending functi...
# codingconventions
e
We give simple, regular names to suspending functions, like
send
. We add an explicit
Blocking
suffix if a function blocks a thread, like
sendBlocking
. This only goes as far as our APIs, since Java has a lots of types with blocking APIs that don’t have “blocking” in their name. Take a look at
CompletableFuture
, for example. It has a blocking
get
. We try to avoid using those types altogether. Hence we use
Deferred
instead.