code: func New(dispatcher eventservice.Dispatcher, opts ...options.Opt) *Client {
  	params := defaultParams()
  	options.Apply(params, opts)
  
  	return &Client{
  		Service:         eventservice.New(dispatcher, opts...),
  		params:          *params,
  		connectionState: int32(Disconnected),
  	}
  }
docs: // New returns a new event client