odelay
If calling cancel on a Delay's implemention has no other effect than cancelling the underlying promise. Use this as a mix in.
val timer = new Timer { def apply(delay: FiniteDuration, op: => T) = new PromisingDelay[T] with SelfCancelation[T] { schedule(delay, completePromise(op)) } ... }
(Since version ) see corresponding Javadoc for more information.
If calling cancel on a Delay's implemention has no other effect than cancelling the underlying promise. Use this as a mix in.