// // AsyncWaiter.cpp // redream_runtime // // Created by Chao on 2023/5/29. // #include "AsyncWaiter.hpp" #include "AsyncWaiterContainer.hpp" namespace redream { void AsyncWaiter::onEnd() { _container->remove(this); } void AsyncWaiter::addToContainer(AsyncWaiterContainer* container) { container->add(this); _container = container; } }