Add setTimeout() with 2 parameters.
This commit is contained in:
@@ -25,7 +25,8 @@ class NumberFormatException() : Exception() {}
|
||||
|
||||
native
|
||||
fun setTimeout(callback : ()-> Unit) {}
|
||||
|
||||
native
|
||||
fun setTimeout(callback : ()-> Unit, ms : Int) {}
|
||||
native
|
||||
fun setInterval(callback : ()-> Unit, ms : Int) {}
|
||||
native
|
||||
|
||||
Reference in New Issue
Block a user