Title: Feature request: Messager async/await return Post by: chrwei on September 16, 2022, 09:35:39 AM I'm currently doing this to async/await Messager dialogs calls. (this is in a functional component with useRef() )
Code: let res = await new Promise(resolve => { Would it be possible to add an async/await pattern when the "result" callback isn't provided? Examples for how that would be called: Code: let res = await messager.current.confirm({ or Code: let answer = await messager.current.confirm({ |