How to make start and stop buttons?

In the vein of this thread…
A stop button example with options based on threading or asyncio, in addition to multiprocessing. The multiprocessing example uses Queue to send information from one process to the other.

In my test just now, the multiprocessing version plays the ‘Done’ message in both JupyterLab and the claissic notebook interface while the asyncio version only plays the ‘Done’ message in the classic notebook interface. The button pressed notice only gets displayed in the classic notebook for both the aysyncio and multiprocessing implementations.