cursorCacheInProgress
This commit is contained in:
1 parent
b312fce32f
commit
bb41c52030
2 files changed
+9
-2
No files matched your search
Binary file not shown.
+9
-2
@@ -37,6 +37,8 @@
|
||||
|
||||
function initialize(pExchange, pMarket, pDatetime, pTimePeriod, chartLayersPanel, callBackFunction) {
|
||||
|
||||
let cursorCacheInProgress = false;
|
||||
|
||||
datetime = pDatetime;
|
||||
timePeriod = pTimePeriod;
|
||||
|
||||
@@ -58,9 +60,14 @@
|
||||
|
||||
function initializeFileCursorCache() {
|
||||
|
||||
fileCursorCache = newFileCursorCache();
|
||||
fileCursorCache.initialize("AAMasters", "AAOlivia", "Daily Candles", "Daily Candlesticks", pExchange, pMarket, pDatetime, onFileCursorReady);
|
||||
if (cursorCacheInProgress === false) {
|
||||
|
||||
cursorCacheInProgress = true;
|
||||
|
||||
fileCursorCache = newFileCursorCache();
|
||||
fileCursorCache.initialize("AAMasters", "AAOlivia", "Daily Candles", "Daily Candlesticks", pExchange, pMarket, pDatetime, onFileCursorReady);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
function onFileCursorReady() {
|
||||
|
||||
Reference in new issue
Block a user