Skip to content

Commit 6d29928

Browse files
committed
Add truth table.
1 parent 1ef3126 commit 6d29928

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

packages/sdk/browser/src/BrowserDataManager.ts

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,18 @@ export default class BrowserDataManager extends BaseDataManager {
2121
// If streaming is forced on or off, then we follow that setting.
2222
// Otherwise we automatically manage streaming state.
2323
private forcedStreaming?: boolean = undefined;
24-
private automaticStreamingState?: boolean = false;
24+
private automaticStreamingState: boolean = false;
25+
26+
// +-----------+-----------+---------------+
27+
// | forced | automatic | state |
28+
// +-----------+-----------+---------------+
29+
// | true | false | streaming |
30+
// | true | true | streaming |
31+
// | false | true | not streaming |
32+
// | false | false | not streaming |
33+
// | undefined | true | streaming |
34+
// | undefined | false | not streaming |
35+
// +-----------+-----------+---------------+
2536

2637
constructor(
2738
platform: Platform,

0 commit comments

Comments
 (0)