code: function dispose() {
                  if (!this.disposed) {
                      this.messageChannel.dispose();
                      this.messageChannel = void 0;
                      this.eventChannel = void 0;
                      this.mapper = void 0;
                      this.callbackCache = void 0;
                      this.circuit = void 0;
                      this.disposed = true;
                  }
              }
docs: Method for disposing the object