我正在使用第三方库提供的功能.此函数将回调函数作为参数,但我想等待在继续之前调用此回调函数.是否有标准/可接受的方式来做到这一点?
javascript asynchronous callback
asynchronous ×1
callback ×1
javascript ×1