setRemoteDescription method

  1. @JSName('setRemoteDescription')
Future setRemoteDescription (Map description)

Implementation

@JSName('setRemoteDescription')
Future setRemoteDescription(Map description) {
  var completer = new Completer();
  _setRemoteDescription(description, () {
    completer.complete();
  }, (exception) {
    completer.completeError(exception);
  });
  return completer.future;
}