Home > Mobile >  Ah, who help to see, very grateful...
Ah, who help to see, very grateful...

Time:11-02

Do in the inside of the small program letter

This is defined in advance fragment
Aaa: function (equal) {
Code 1,,,
The return of new Promise ((resolve, reject)=& gt; {
Res=& gt; {
Resolve (res);
}
})
},

Here is in the main program called
Aaa (). Then (
Code 2,,,
)

Code 1 and code 2 now or synchronous execution,,,
Who could help to look into asynchronous execution under the code to execute code 1 2

CodePudding user response:

Should be easy to...

CodePudding user response:

Code 2 don't write callback is ok