What I usually do is create a simple DSL, so the c...
# language-proposals
o
What I usually do is create a simple DSL, so the call looks like this:
Copy code
source.subscribe {
   next { println(it) }
   error { it.printStacktrace() }
}
👍 7