Allows continuation task to be of any type