未验证 提交 711ed6c8 编写于 作者: J Joao Moreno

remove more output

上级 557d444f
...@@ -22,7 +22,6 @@ export class Cache<T> { ...@@ -22,7 +22,6 @@ export class Cache<T> {
const cts = new CancellationTokenSource(); const cts = new CancellationTokenSource();
const promise = this.task(cts.token); const promise = this.task(cts.token);
promise.finally(() => cts.dispose());
this.result = { this.result = {
promise, promise,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册