MCPcopy Create free account
hub / github.com/LiteLDev/LeviLamina / execute

Method execute

src/ll/api/thread/ServerThreadExecutor.cpp:91–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected