add runOnWorker to public API