| 90 | event::EventBus::getInstance().removeListener<event::ClientLevelTickEvent>(impl->worker); |
| 91 | } |
| 92 | void ClientThreadExecutor::execute(std::function<void()> f) const { impl->shared->works.enqueue(std::move(f)); } |
| 93 | |
| 94 | std::shared_ptr<data::CancellableCallback> |
| 95 | ClientThreadExecutor::executeAfter(std::function<void()> f, Duration dur) const { |
no outgoing calls