next
TypeScriptnext(): Promise<(Notification) | null>Swift declarationfunc next() async -> Notification?Asynchronously advances to the next element and returns it, or ends the sequence if there is no next element.
struct · iOS 15.0+ · SDK 27.1
struct IteratorThe asynchronous iterator created by this asynchronous sequence.
next(): Promise<(Notification) | null>Swift declarationfunc next() async -> Notification?Asynchronously advances to the next element and returns it, or ends the sequence if there is no next element.
No declarations were skipped in this snapshot.