mirror of
https://github.com/nasa/openmct.git
synced 2024-12-22 14:32:22 +00:00
640a399278
Add an example worker which inefficiently calculates fibonacci numbers outside of the UI thread, for #12.
17 lines
366 B
JSON
17 lines
366 B
JSON
{
|
|
"extensions": {
|
|
"indicators": [
|
|
{
|
|
"implementation": "FibonacciIndicator.js",
|
|
"depends": [ "workerService", "$rootScope" ]
|
|
}
|
|
],
|
|
"workers": [
|
|
{
|
|
"key": "example.fibonacci",
|
|
"scriptUrl": "FibonacciWorker.js"
|
|
}
|
|
]
|
|
}
|
|
}
|