Skip to content

Commit 1e1f6b0

Browse files
committed
Docs
1 parent 2885154 commit 1e1f6b0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/core/src/result.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,10 @@ class Result implements Promise<QueryResult> {
373373
.catch(() => {})
374374
}
375375

376+
/**
377+
* Check if this result is active, which means summary or error are not received by the result.
378+
* @return {boolean} `true` when summary or error are not received by the result.
379+
*/
376380
isOpen (): boolean {
377381
return this._summary === null && this._error === null
378382
}

0 commit comments

Comments
 (0)