benleggiero
11/28/2018, 3:00 AM@Throws. Does Kotlin/JS have something like that?gildor
11/28/2018, 3:14 AMThrows as optional annnotation for other platfroms, there is API now for thisgildor
11/28/2018, 3:20 AMgildor
11/28/2018, 3:21 AM@Throws used only to add checked exception to some method. Kotlin doesn’t have checked exceptions, so from Kotlin code @Throws is ignored (even on JVM), but Java user must handle it.
JS doesn’t have checked exceptions, so this annotation will do nothing on JS side, even if it will be added as optional expect annotationdiesieben07
12/08/2018, 6:26 PM@Throws or not.gildor
12/09/2018, 12:46 AMbenleggiero
12/09/2018, 7:25 PMResult to asynchronous use if at all possiblegildor
12/09/2018, 11:27 PMbenleggiero
12/19/2018, 4:44 AMResult also doesn’t throw up compiler warnings when I’m making library calls that might throw JVM exceptionthrowables, which is my primary concerngildor
12/19/2018, 4:53 AMdoesn’t throw up compiler warnings when I’m making library calls that might throw JVM exceptionthrowablesWhat do you mean? But without Result do you have warnings about catched exception? Never see this
gildor
12/19/2018, 4:54 AMbenleggiero
12/19/2018, 5:57 AM