astoilkov / main-thread-scheduling TypeScript 1.3K 33 Fast and consistently responsive apps using a single function call posttask worker background yield