One Logo Pool Ball
Foundation · IOS API REFERENCE

NotificationCenter.Notifications.Iterator

struct · iOS 15.0+ · SDK 27.1

struct Iterator

The asynchronous iterator created by this asynchronous sequence.

Members (1)

method · iOS 15.0+

next

TypeScript
next(): Promise<(Notification) | null>
Swift declaration
func next() async -> Notification?

Asynchronously advances to the next element and returns it, or ends the sequence if there is no next element.

Skipped declarations

No declarations were skipped in this snapshot.

All Foundation types →