()
| 10 | let timerId = 0; |
| 11 | |
| 12 | function createHandlerAndGetId(): number { |
| 13 | if (!timeoutHandler) { |
| 14 | timeoutHandler = new android.os.Handler(android.os.Looper.myLooper()); |
| 15 | } |
| 16 | |
| 17 | timerId++; |
| 18 | |
| 19 | return timerId; |
| 20 | } |
| 21 | |
| 22 | export function setTimeout(callback: Function, milliseconds = 0, ...args): number { |
| 23 | // Cast to Number |
no outgoing calls
no test coverage detected