7
후 약속을 실행하는 방법 :이 경우엠버 : 나는 같은 것을 어떻게해야합니까 this.send()
this.send('someFunction').then(function(response) {
// do something with the response data
});
를, "된 SomeFuncion"는 믹스 인에서 작업입니다.
후 약속을 실행하는 방법 :이 경우엠버 : 나는 같은 것을 어떻게해야합니까 this.send()
this.send('someFunction').then(function(response) {
// do something with the response data
});
를, "된 SomeFuncion"는 믹스 인에서 작업입니다.
send는 아무 것도 반환하지 않지만 지연/약속을 보내고 해결 조치를 취할 수 있습니다.
몇 주 전에 준 사례를 찾아서 여기에 올리겠습니다.