Explorar el Código

add plot stop functional

tags/2.12.0
Caven Chen hace 3 años
padre
commit
26b9dd7673
Se han modificado 1 ficheros con 12 adiciones y 0 borrados
  1. 12
    0
      modules/plot/Plot.js

+ 12
- 0
modules/plot/Plot.js Ver fichero

@@ -188,6 +188,18 @@ class Plot {
return this
}

/**
*
* @return {Plot}
*/
stop() {
if (this._currentWorker) {
this._currentWorker.stop()
}
this._currentWorker = null
return undefined
}

/**
*
* @returns {Plot}

Cargando…
Cancelar
Guardar