public static interface StreamUtils.ScheduleSupport
Modifier and Type | Method and Description |
---|---|
void |
runInContext(scala.Function0<scala.runtime.BoxedUnit> block) |
org.apache.pekko.actor.Cancellable |
scheduleOnce(scala.concurrent.duration.FiniteDuration delay,
scala.Function0<scala.runtime.BoxedUnit> block)
Schedule a block to be run once after the given duration in the context of this graph stage.
|
void runInContext(scala.Function0<scala.runtime.BoxedUnit> block)
org.apache.pekko.actor.Cancellable scheduleOnce(scala.concurrent.duration.FiniteDuration delay, scala.Function0<scala.runtime.BoxedUnit> block)
delay
- (undocumented)block
- (undocumented)