For example:
(async () => { const a = await promise(); console.log(a); })()
The promise function can be resolved multiple times. How can the function after await be executed repeatedly?
ringa_lee
Promise is a single-value push type. You can use the Observable of RxJs and you can push multiple values
http://blog.csdn.net/hzaini89...
For reference
Promise is a single-value push type.
You can use the Observable of RxJs and you can push multiple values
http://blog.csdn.net/hzaini89...
For reference