This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
OpenSource
/
dc-sdk
mirror of
https://github.com/dvt3d/dc-sdk
Watch
4
Star
0
Fork
0
Code
Issues
0
Releases
92
Wiki
Activity
Browse Source
add plot stop functional
tags/2.12.0
Caven Chen
3 years ago
parent
f32f0d3ea8
commit
26b9dd7673
1 changed files
with
12 additions
and
0 deletions
Split View
Show Diff Stats
12
0
modules/plot/Plot.js
+ 12
- 0
modules/plot/Plot.js
View File
@@ -188,6 +188,18 @@ class Plot {
return this
}
/**
*
* @return {Plot}
*/
stop() {
if (this._currentWorker) {
this._currentWorker.stop()
}
this._currentWorker = null
return undefined
}
/**
*
* @returns {Plot}
Write
Preview
Loading…
Cancel
Save