code: function (err, result) {                                                                         // 460
      var self = this;                                                                                              // 461
      if (self.gotResult())                                                                                         // 462
        throw new Error("Methods should only receive results once");                                                // 463
      self._methodResult = [err, result];                                                                           // 464
      self._onResultReceived(err, result);                                                                          // 465
      self._maybeInvokeCallback();                                                                                  // 466
    }
docs: 455 Call with the result of the method from the server. Only may be called                                       // 456 once; once it is called, you should not call sendMessage again.                                              // 457 If the user provided an onResultReceived callback, call it immediately.                                      // 458 Then invoke the main callback if data is also visible.                                                       // 459