Replaced delay with RemotePromise type
Renamed worker to run-worker