* @param {string} keyringId - the keyring to use for this operation * @constructor
(keyringId)
| 13 | * @constructor |
| 14 | */ |
| 15 | constructor(keyringId) { |
| 16 | this.keyringId = keyringId; |
| 17 | this.id = getUUID(); |
| 18 | this.port = EventHandler.connect(`syncHandler-${this.id}`, this); |
| 19 | this.registerEventListener(); |
| 20 | } |
| 21 | |
| 22 | onConnect() { |
| 23 | this.port.emit('init', {keyringId: this.keyringId}); |
nothing calls this directly
no test coverage detected