getQuery

abstract fun getQuery(target: GLenum, pname: GLenum): WebGLQuery?(source)

MDN Reference