1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | const InMemoryEventStore_1 = require("./internal/event/InMemoryEventStore");
|
4 |
|
5 | let es;
|
6 | function initEventStore() {
|
7 | if (!es) {
|
8 | es = new InMemoryEventStore_1.InMemoryEventStore();
|
9 | }
|
10 | }
|
11 |
|
12 |
|
13 |
|
14 |
|
15 | function eventStore() {
|
16 | initEventStore();
|
17 | return es;
|
18 | }
|
19 | exports.eventStore = eventStore;
|
20 | function setEventStore(newEventStore) {
|
21 | es = newEventStore;
|
22 | }
|
23 | exports.setEventStore = setEventStore;
|
24 | function automationClientInstance() {
|
25 | return global.__runningAutomationClient;
|
26 | }
|
27 | exports.automationClientInstance = automationClientInstance;
|
28 |
|
\ | No newline at end of file |