(action)
| 1080 | const finishTransactionListeners = pairNewMap(); |
| 1081 | const [addListener, callListeners, delListenerImpl, callListenerImpl] = getListenerFunctions(() => store); |
| 1082 | const whileMutating = (action) => { |
| 1083 | const wasMutating = mutating; |
| 1084 | mutating = 1; |
| 1085 | const result = action(); |
| 1086 | mutating = wasMutating; |
| 1087 | return result; |
| 1088 | }; |
| 1089 | const ifTransformed = (snapshot, getResult, then, isEqual = Object.is) => ifNotUndefined( |
| 1090 | getResult(), |
| 1091 | (result) => snapshot === result || isEqual(snapshot, result) ? then(result) : whileMutating(() => then(result)) |
no outgoing calls
no test coverage detected
searching dependent graphs…