java.lang.Object
swim.concurrent.SideStage
Stage wrapper that prevents its underlying stage from being started
and stopped.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> Call<T>Returns aCallthat completes thecontinuation.voidSchedules arunnablefor concurrent execution.setTimer(long millis, TimerFunction timer) Schedulestimerto execute aftermillismilliseconds have elapsed.task(TaskFunction task) Returns an uncuedTaskRefbound to thetask, which can later be used to cue thetask.timer(TimerFunction timer) Returns an unscheduledTimerRefbound totimer, which can later be used to scheduletimer.
-
Field Details
-
stage
-
-
Constructor Details
-
SideStage
-
-
Method Details
-
execute
Description copied from interface:StageSchedules arunnablefor concurrent execution. -
task
Description copied from interface:StageReturns an uncuedTaskRefbound to thetask, which can later be used to cue thetask. -
call
Description copied from interface:StageReturns aCallthat completes thecontinuation. -
timer
Description copied from interface:ScheduleReturns an unscheduledTimerRefbound totimer, which can later be used to scheduletimer. -
setTimer
Description copied from interface:ScheduleSchedulestimerto execute aftermillismilliseconds have elapsed. Returns aTimerRefthat can be used to check the status of, reschedule, and canceltimer.
-