(callbackNode: mixed)
| 639 | } |
| 640 | |
| 641 | function cancelCallback(callbackNode: mixed) { |
| 642 | if (__DEV__ && callbackNode === fakeActCallbackNode) { |
| 643 | // Special `act` case: check if this is the fake callback node used by |
| 644 | // the `act` implementation. |
| 645 | } else if (callbackNode !== null) { |
| 646 | Scheduler_cancelCallback(callbackNode); |
| 647 | } |
| 648 | } |
| 649 | |
| 650 | function scheduleImmediateRootScheduleTask() { |
| 651 | if (__DEV__ && ReactSharedInternals.actQueue !== null) { |
no outgoing calls
no test coverage detected