(store)
| 60 | |
| 61 | export default class HandlerRegistry { |
| 62 | constructor(store) { |
| 63 | this.store = store; |
| 64 | |
| 65 | this.types = {}; |
| 66 | this.handlers = {}; |
| 67 | |
| 68 | this.pinnedSourceId = null; |
| 69 | this.pinnedSource = null; |
| 70 | } |
| 71 | |
| 72 | addSource(type, source) { |
| 73 | validateType(type); |
nothing calls this directly
no outgoing calls
no test coverage detected