dolphindb 2.0.971 → 2.0.973
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/browser.js +2 -2
- package/browser.js.map +1 -1
- package/docs.en.json +341 -976
- package/docs.zh.json +71 -53
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +5 -5
package/browser.js
CHANGED
|
@@ -2423,7 +2423,7 @@ class DDB {
|
|
|
2423
2423
|
}
|
|
2424
2424
|
})());
|
|
2425
2425
|
// 使用资源发送请求并等待请求完成
|
|
2426
|
-
const result = new Promise((resolve, reject) => {
|
|
2426
|
+
const result = await new Promise((resolve, reject) => {
|
|
2427
2427
|
this.on_error = () => {
|
|
2428
2428
|
// 这里一定有了 this.error, 不需要再 || new DdbConnectionError(this)
|
|
2429
2429
|
reject(this.error);
|
|
@@ -2463,7 +2463,7 @@ class DDB {
|
|
|
2463
2463
|
]));
|
|
2464
2464
|
});
|
|
2465
2465
|
if (this.verbose)
|
|
2466
|
-
console.log(result
|
|
2466
|
+
console.log(result.toString() + rpc_id);
|
|
2467
2467
|
return result;
|
|
2468
2468
|
});
|
|
2469
2469
|
}
|