“0b6c5e6d25ab9cef83b75fab1cc1443c85468427”上不存在“...v2/fluid/git@gitcode.net:s920243400/PaddleDetection.git”
未验证 提交 eae628f5 编写于 作者: O openharmony_ci 提交者: Gitee

!15863 Delete test interface data in process module to OpenHarmony-3.1-Realease

Merge pull request !15863 from bwx1067111/OpenHarmony-3.1-Release
......@@ -87,14 +87,14 @@ callbackWrapper(original: Function): (err: Object, value: Object )=>void
**示例:**
```js
async function promiseFn() {
return Promise.reject('value');
}
var cb = util.callbackWrapper(promiseFn);
cb((err, ret) => {
console.log(err);
console.log(ret);
})
async function fn() {
return 'hello world';
}
let cb = util.callbackWrapper(fn);
cb(1, (err, ret) => {
if (err) throw err;
console.log(ret);
});
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册