Makes the processing of messages between the web worker and main thread sequentially and synchronously