(setPending, config, callback)
| 15655 | } |
| 15656 | |
| 15657 | function startTransition(setPending, config, callback) { |
| 15658 | var priorityLevel = getCurrentPriorityLevel(); |
| 15659 | runWithPriority$1(priorityLevel < UserBlockingPriority$1 ? UserBlockingPriority$1 : priorityLevel, function () { |
| 15660 | setPending(true); |
| 15661 | }); |
| 15662 | runWithPriority$1(priorityLevel > NormalPriority ? NormalPriority : priorityLevel, function () { |
| 15663 | var previousConfig = ReactCurrentBatchConfig$1.suspense; |
| 15664 | ReactCurrentBatchConfig$1.suspense = config === undefined ? null : config; |
| 15665 | |
| 15666 | try { |
| 15667 | setPending(false); |
| 15668 | callback(); |
| 15669 | } finally { |
| 15670 | ReactCurrentBatchConfig$1.suspense = previousConfig; |
| 15671 | } |
| 15672 | }); |
| 15673 | } |
| 15674 | |
| 15675 | function mountTransition(config) { |
| 15676 | var _mountState2 = mountState(false), |
nothing calls this directly
no test coverage detected