1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Delete async function in context/index

This commit is contained in:
HirokiUchikawa 2018-06-01 19:21:41 +09:00
parent 6e34f0697c
commit fbe0e2d6eb

View File

@ -178,21 +178,6 @@ function createContext(id,seed) {
return context.keysAsync(scope); return context.keysAsync(scope);
} }
}; };
obj.getAsync = function(key) {
var keyPath = parseKey(key);
var context = getContextStorage(keyPath.storage);
return context.getAsync(scope, keyPath.key);
};
obj.setAsync = function(key, value) {
var keyPath = parseKey(key);
var context = getContextStorage(keyPath.storage);
return context.setAsync(scope, keyPath.key, value);
};
obj.keysAsync = function(storage) {
var storageName = parseStorage(storage);
var context = getContextStorage(storageName);
return context.keysAsync(scope);
};
return obj; return obj;
} }