Hi,
I am trying to use await function in the extend function like this
extend(CommentPost.prototype, 'footerItems', async function(items) {
async was added to satisfy the await requirement.
However, if I use await fetch(...)
call in the code, I found some other codes are not called.
So, I'd love to ask is it OK to use await like that?
Thanks
Jeff