shutdown And Wait
Waits until all currently enqueued and active tasks are completed, then stops the worker thread. Blocks the caller until completion.
Should be called during application shutdown to ensure no pending config is lost.
Waits until all currently enqueued and active tasks are completed, then stops the worker thread. Blocks the caller until completion.
Should be called during application shutdown to ensure no pending config is lost.