| 123456789101112131415161718192021222324252627 |
- import { entityKind } from "./entity.js";
- class QueryPromise {
- static [entityKind] = "QueryPromise";
- [Symbol.toStringTag] = "QueryPromise";
- catch(onRejected) {
- return this.then(void 0, onRejected);
- }
- finally(onFinally) {
- return this.then(
- (value) => {
- onFinally?.();
- return value;
- },
- (reason) => {
- onFinally?.();
- throw reason;
- }
- );
- }
- then(onFulfilled, onRejected) {
- return this.execute().then(onFulfilled, onRejected);
- }
- }
- export {
- QueryPromise
- };
- //# sourceMappingURL=query-promise.js.map
|