add docstring for WorkerEmulator