* because with Scala 2.12 it can't infer the right overload * prefer the `() =>`, but here it's clear that it's a callback * similar in ActorSystem.registerOnTermination |
||
|---|---|---|
| .. | ||
| docs | ||
* because with Scala 2.12 it can't infer the right overload * prefer the `() =>`, but here it's clear that it's a callback * similar in ActorSystem.registerOnTermination |
||
|---|---|---|
| .. | ||
| docs | ||