Преглед на файлове

add plot stop functional

tags/2.12.0
Caven Chen преди 3 години
родител
ревизия
26b9dd7673
променени са 1 файла, в които са добавени 12 реда и са изтрити 0 реда
  1. 12
    0
      modules/plot/Plot.js

+ 12
- 0
modules/plot/Plot.js Целия файл

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

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

/**
*
* @returns {Plot}

Loading…
Отказ
Запис