Query .onNext()Wait for events using promises instead of callbacksquery-on-next7componentQuerypage.jsEventsonNext() returns a Promise that resolves when the event fires, enabling async/await patterns["query","events","onnext","promise","async","await"].onNext()Example Semantic UI