mirror of
https://github.com/xfarrow/blink
synced 2025-06-27 09:03:02 +02:00
Change endpoint from persons to people
This commit is contained in:
21
backend/apis/nodejs/node_modules/tarn/dist/PromiseInspection.js
generated
vendored
Normal file
21
backend/apis/nodejs/node_modules/tarn/dist/PromiseInspection.js
generated
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
class PromiseInspection {
|
||||
constructor(args) {
|
||||
this._value = args.value;
|
||||
this._error = args.error;
|
||||
}
|
||||
value() {
|
||||
return this._value;
|
||||
}
|
||||
reason() {
|
||||
return this._error;
|
||||
}
|
||||
isRejected() {
|
||||
return !!this._error;
|
||||
}
|
||||
isFulfilled() {
|
||||
return !!this._value;
|
||||
}
|
||||
}
|
||||
exports.PromiseInspection = PromiseInspection;
|
Reference in New Issue
Block a user