TenantAtlas/apps/platform/.pnpm-store/v10/files/50/cc2a72b78c442314f68d26bb056f4efedb44057a85355fda8f72efcf0be866918b4826cdccf45c1a7725e56aa6fba7da2c7830b1038b785a84695da6b345b5
Ahmed Darrazi 9f74f7a658
Some checks failed
PR Fast Feedback / fast-feedback (pull_request) Failing after 51s
feat: compress governance operator outcomes
2026-04-19 14:15:11 +02:00

27 lines
579 B
Plaintext

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