update

fun update()

Execute the loop function of the current task and discard it if it is complete