Skip to content

Commit 74a45c8

Browse files
committed
Update BufferedClass.ts
1 parent 977a8a0 commit 74a45c8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sdk/@launchdarkly/observability-react-native/src/sdk/BufferedClass.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
type Event = { method: string; args: any[] }
22

3+
// TODO: Consider sharing this class with other SDKs. We also may want to
4+
// re-think the logic for when we exceed capacity and drop old events to make
5+
// room for new ones.
36
export class BufferedClass<T extends object> {
47
protected _sdk!: T
58
protected _isLoaded = false

0 commit comments

Comments
 (0)