From 21b2ea0be742ed273de198db97447387716dce72 Mon Sep 17 00:00:00 2001 From: Seth Silesky Date: Wed, 28 Sep 2022 23:09:19 -0500 Subject: [PATCH] tweak docs --- packages/node/src/app/analytics-node.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/node/src/app/analytics-node.ts b/packages/node/src/app/analytics-node.ts index 04cb81735..06c0ec21f 100644 --- a/packages/node/src/app/analytics-node.ts +++ b/packages/node/src/app/analytics-node.ts @@ -107,12 +107,13 @@ export class AnalyticsNode /** * Call this method to stop collecting new events and flush all existing events. - * If a callback on an event call is incluced, this also waits for all callbacks to be called, and any of their subsequent promises to be resolved. + * This method also waits for any event method-specific callbacks to be triggered, + * and any of their subsequent promises to be resolved/rejected. */ public closeAndFlush({ timeout, }: { - /** Maximum time permitted to wait before resolving. */ + /** Set a maximum time permitted to wait before resolving. Default = no maximum. */ timeout?: number } = {}): Promise { this._isClosed = true