(type, event)
| 88 | |
| 89 | return { |
| 90 | process(type, event) { |
| 91 | switch (type) { |
| 92 | case "start": |
| 93 | touchStart.next(event); |
| 94 | break; |
| 95 | case "move": |
| 96 | touchMove.next(event); |
| 97 | break; |
| 98 | case "end": |
| 99 | touchEnd.next(event); |
| 100 | break; |
| 101 | } |
| 102 | }, |
| 103 | end() { |
| 104 | subscriptions.forEach(x => x.unsubscribe()); |
| 105 | touchStart.unsubscribe(); |
nothing calls this directly
no outgoing calls
no test coverage detected