louiscad
08/07/2018, 9:51 AMasUnit()
method in the #stdlib so you can do things like override someMethodReturningJavaVoidOrUnit() = launch { ... }.asUnit()
?diesieben07
08/07/2018, 10:00 AM.let { Unit }
?louiscad
08/07/2018, 10:04 AMilya.gorbunov
08/09/2018, 12:34 AM.let {}
louiscad
08/09/2018, 7:15 AM.let {}
, but I think an asUnit()
method would be more explicit on the intent. Any opinions on whether it is a good idea to add it to stdlib?ilya.gorbunov
08/09/2018, 11:19 AM