plugin-docs icon indicating copy to clipboard operation
plugin-docs copied to clipboard

In OAuth guide, update the "Write a helper function for XHR requests" helper

Open ashryanbeats opened this issue 7 years ago • 2 comments

Submit an issue

Description of the issue

Use async/await

ashryanbeats avatar Oct 11 '18 18:10 ashryanbeats

@ashryanbeats can you elaborate on this for me? Currently, the helper function itself returns a promise object which is used with async/await. Since the helper function has to use XHR and its polling mechanism, the current state is the simplest we can get. Please let me know if you disagree

dkstevekwak avatar Oct 25 '18 16:10 dkstevekwak

@ashryanbeats can you look at the comments above please?

dkstevekwak avatar Dec 04 '18 16:12 dkstevekwak