Interface TaskService

    • Method Detail

      • createTask

        Task createTask​(String name)
        Creates a new, empty Task. It is the responsibility of the caller to then launch the task via the Task.run(Runnable) method.
        Parameters:
        name - The task's name, to differentiate it from others.
        Returns:
        A newly created task which awaits execution.