Website workers do not unload anything from the main window.
This is a message-based event model. Thus, you can call completion from the main window, and depending on where the worker executes it, you may or may not receive the last message.
Assuming you have some kind of manufacturer, consumer model.
source share