1 | import { ConsoleLogger } from '@aws-amplify/core';
|
2 |
|
3 | const logger = new ConsoleLogger('AbstractPubSubProvider');
|
4 | class AbstractPubSub {
|
5 | constructor(options) {
|
6 | this._config = options;
|
7 | }
|
8 | configure(config) {
|
9 | this._config = { ...config, ...this._config };
|
10 | logger.debug(`configure`, this._config);
|
11 | return this.options;
|
12 | }
|
13 | get options() {
|
14 | return { ...this._config };
|
15 | }
|
16 | }
|
17 |
|
18 | export { AbstractPubSub };
|
19 | //# sourceMappingURL=PubSub.mjs.map
|