| 59 | } |
| 60 | |
| 61 | bool JobQueue::empty() const { |
| 62 | // TODO (Tom Tang): implement using `get_running_loop` and getting job count on loop??? |
| 63 | return true; // see https://hg.mozilla.org/releases/mozilla-esr128/file/tip/js/src/builtin/Promise.cpp#l6946 |
| 64 | } |
| 65 | |
| 66 | bool JobQueue::isDrainingStopped() const { |
| 67 | // TODO (Tom Tang): implement this by detecting if the Python event-loop is still running |
nothing calls this directly
no outgoing calls
no test coverage detected