Takes an optionally Task returning function and turns the function itself and the returned Task into a single sequential Task.
Optional
Task
Takes an optionally Task returning function and turns the function itself and the returned Task into a single sequential Task.