An implementation of the Task by Branch strategy