0
在Azure中DocumentDB,运行下一个SP天青DocumentDB,在SP,setTimeout的抛出异常
function sample(prefix) {
setTimeout(function() { throw "gg"; }, "1000");
}
抛出下一个异常
Encountered exception while executing Javascript. Exception = ReferenceError: 'setTimeout' is undefined
有没有办法在DocumentDB使用的setTimeout?
您可以参考http://azure.github.io/azure-documentdb-js-server/,documentdb服务器sdk不支持超时功能。 –