code: func (l *State) StopNotify(ch chan<- struct{}) {
  	l.Lock()
  	defer l.Unlock()
  	delete(l.notifyHandlers, ch)
  }
docs: // StopNotify will deregister a channel receiving state change notifications.
  // Pair this with all calls to Notify to clean up state.