(checkpointId)
| 574 | return checkpoints; |
| 575 | }; |
| 576 | const goTo = (checkpointId) => { |
| 577 | const action = arrayHas(backwardIds, checkpointId) ? goBackwardImpl : arrayHas(forwardIds, checkpointId) ? goForwardImpl : void 0; |
| 578 | while (!isUndefined(action) && checkpointId != currentId) { |
| 579 | action(); |
| 580 | } |
| 581 | callListenersIfChanged(); |
| 582 | return checkpoints; |
| 583 | }; |
| 584 | const addCheckpointIdsListener = (listener) => addListener(listener, checkpointIdsListeners); |
| 585 | const addCheckpointListener = (checkpointId, listener) => addListener(listener, checkpointListeners, [checkpointId]); |
| 586 | const delListener = (listenerId) => { |
nothing calls this directly
no test coverage detected
searching dependent graphs…