Ice 3.9
C++ API Reference
Loading...
Searching...
No Matches

◆ waitForShutdownAsync()

void Ice::Communicator::waitForShutdownAsync ( std::function< void()> completed)
noexcept

Waits until this communicator is shut down.

Parameters
completedThe callback to call when the shutdown is complete. This function must not throw any exception.
Remarks
The callback is usually called by a dedicated background thread. It can also be called by the current thread when the shutdown has already completed.
See also
shutdown