Delegating tasks to a worker (calculator). (source code)
💡 Open the developer console to see the results.