aboutsummaryrefslogtreecommitdiff
path: root/src/query.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-11-18 04:37:10 +0100
committerFlorian Dold <florian.dold@gmail.com>2016-11-18 04:37:10 +0100
commiteb9677c374418384f1a96eba95153dc69ebfccc4 (patch)
tree4ecd9d802403099b2f20ce9d779b40cabd4920ad /src/query.ts
parent356ebd2137eb5ca31486ed49ab8223c8256b1554 (diff)
sequence logging
Diffstat (limited to 'src/query.ts')
-rw-r--r--src/query.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/query.ts b/src/query.ts
index f8a6255b4..2c5a6002f 100644
--- a/src/query.ts
+++ b/src/query.ts
@@ -86,7 +86,7 @@ export let AbortTransaction = Symbol("abort_transaction");
* Get an unresolved promise together with its extracted resolve / reject
* function.
*/
-function openPromise<T>() {
+export function openPromise<T>() {
let resolve: ((value?: T | PromiseLike<T>) => void) | null = null;
let reject: ((reason?: any) => void) | null = null;
const promise = new Promise<T>((res, rej) => {