From 65a65a601ebd721e740afbe6828901ffa0d48d95 Mon Sep 17 00:00:00 2001 From: Daniel Lugo Date: Wed, 15 Jul 2020 11:37:55 -0400 Subject: [PATCH] optional 2nd once() param --- services/gunDB/contact-api/SimpleGUN.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/gunDB/contact-api/SimpleGUN.ts b/services/gunDB/contact-api/SimpleGUN.ts index eb5e4d11..d7e54313 100644 --- a/services/gunDB/contact-api/SimpleGUN.ts +++ b/services/gunDB/contact-api/SimpleGUN.ts @@ -47,7 +47,7 @@ export interface GUNNodeBase { map(): GUNNode on(this: GUNNode, cb: Listener): void - once(this: GUNNode, cb?: Listener): GUNNode + once(this: GUNNode, cb?: Listener, opts?: { wait: number }): GUNNode open(this: GUNNode, cb?: OpenListener): GUNNode load(this: GUNNode, cb?: OpenListener): GUNNode