Skip to content

Commit a515247

Browse files
committed
comments (#DH-21947)
1 parent ea463ee commit a515247

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

packages/jsapi-utils/src/ConnectionUtils.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ import { TimeoutError } from '@deephaven/utils';
55
export const FETCH_TIMEOUT = 10_000;
66

77
/**
8-
* Fetch the definition for a variable given a connection. Waits for the next field update
9-
* and resolves if the variable is found in the created variables.
8+
* Fetch the definition for a variable given a connection. Waits for the next
9+
* field update event and resolves if the variable is found in the created
10+
* variables.
1011
* @param connection Connection to get the variable from
1112
* @param name Name of the definition to fetch
1213
* @param timeout Timeout for the fetch
@@ -27,8 +28,9 @@ export function fetchVariableDefinition(
2728
}
2829

2930
/**
30-
* Fetch the definition for a variable given a connection. Waits for the next field update
31-
* and resolves if a variable matching the predicate is found in the created variables.
31+
* Fetch the definition for a variable given a connection. Waits for the next
32+
* field update event and resolves if a variable matching the predicate is found
33+
* in the created variables.
3234
* @param connection Connection to get the variable from
3335
* @param predicate Predicate function to test each variable definition
3436
* @param timeout Timeout for the fetch

0 commit comments

Comments
 (0)