1 | ;
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.hasSessionState = exports.addSessionState = void 0;
|
4 | const currentStates = new Set();
|
5 | function addSessionState(state) {
|
6 | currentStates.add(state);
|
7 | }
|
8 | exports.addSessionState = addSessionState;
|
9 | function hasSessionState(state) {
|
10 | return currentStates.has(state);
|
11 | }
|
12 | exports.hasSessionState = hasSessionState;
|