code: func (l *DefaultLifecycle) addTask(t *Task) {
  	l.rmu.Lock()
  	defer l.rmu.Unlock()
  
  	l.registry = append([]*Task{t}, l.registry...)
  	l.wg.Add(1)
  }
docs: // addTask inserts a newly created task into the internal tasks registry.