void waitSync(WebGLSync sync, int flags, int timeout) => js_util.callMethod(this, 'waitSync', [sync, flags, timeout]);