resolve #4 Improve timer's performance by storing all callbacks in an array (#5)

This commit is contained in:
edwardwu
2018-11-16 21:53:59 +08:00
committed by YUyz
parent 2bf412c446
commit 6382315d43
3 changed files with 102 additions and 52 deletions

View File

@@ -239,3 +239,8 @@ export type missingNode = {
export type missingNodeMap = {
[id: number]: missingNode;
};
export type actionWithDelay = {
doAction: () => void;
delay: number;
};