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

◆ destroyAsync()

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

Destroys this communicator asynchronously.

Parameters
completedThe callback to call when the destruction is complete. This function must not throw any exception.
Remarks
This function starts a thread to call destroy and completed unless you call this function on a communicator that has already been destroyed, in which case completed is called by the current thread.
See also
destroy