module Concurrent::Promises::FactoryMethods
def delay_on(default_executor, *args, &task)
-
(Event)
- -
(Future)
-
Overloads:
-
delay_on(default_executor)
-
delay_on(default_executor, *args, &task)
Other tags:
- Yield: - to the task.
def delay_on(default_executor, *args, &task) event = DelayPromise.new(default_executor).event task ? event.chain(*args, &task) : event end