fenceSync

abstract fun fenceSync(condition: GLenum, flags: GLbitfield): WebGLSync?(source)

MDN Reference