| 89 | event::EventBus::getInstance().removeListener<event::ServerLevelTickEvent>(impl->worker); |
| 90 | } |
| 91 | void ServerThreadExecutor::execute(std::function<void()> f) const { impl->shared->works.enqueue(std::move(f)); } |
| 92 | |
| 93 | std::shared_ptr<data::CancellableCallback> |
| 94 | ServerThreadExecutor::executeAfter(std::function<void()> f, Duration dur) const { |
nothing calls this directly
no outgoing calls
no test coverage detected