code: func OnStateChange(fn OnStateChangeFunc) Option {
  	return func(r *Rabbus) error {
  		r.config.breaker.onStateChange = fn
  		return nil
  	}
  }
docs: // OnStateChange is called whenever the state of CircuitBreaker changes.