Joffrey
03/11/2020, 11:45 PMonclose
and onerror
are typed with (Event) -> dynamic
instead of using CloseEvent
and ErrorEvent
respectively?
https://kotlinlang.org/api/latest/jvm/stdlib/org.w3c.dom/-web-socket/
I have to unsafeCast
them to be able to extract the values and it feels wrong. Am I missing something? Is there an actual possibility for having some other kind of events there?[JB] Shagen
03/12/2020, 10:23 AMJoffrey
03/12/2020, 10:26 AMJoffrey
03/27/2020, 2:15 PM