scheduleWhenComplete

An action that indicates the scheduler should schedule the task when the given future is complete.

This is useful for tasks that have to wait on resources or actions to be completed before they can be safely executed.

Return

a schedule after action

Parameters

future

the future to schedule a task when complete