code: func EventSubscriber(eventSub types.EventSubscriber) func(*wsConnection) {
  	return func(wsc *wsConnection) {
  		wsc.eventSub = eventSub
  	}
  }
docs: // EventSubscriber sets object that is used to subscribe / unsubscribe from
  // events - not Goroutine-safe. If none given, default node's eventBus will be
  // used.