make your script remember when it has a dialog open already
battk
09/24/2021, 5:35 PM
dialog.alert returns a Promise, dont create another alert while the promise hasn't resolved, or errored
r
reptar
09/24/2021, 5:37 PM
oh yes, i have seen this pattern before
reptar
09/24/2021, 6:58 PM
How can I access PromiseState? I stored the Promise object, I can see in the console that [[PromiseState]] is pending/fulfilled, but I've tried prom==='fulfilled', prom.PromiseState (undefined), JSON.stringify(prom) ({}), etc.