Contents

NotificationCenter.Notifications

An asynchronous sequence of notifications generated by a notification center.

Declaration

final class Notifications

Overview

Use the notifications(named:object:) method to create an instance of this type, then iterate over its elements with the for-await-in syntax.

Topics

Creating an Iterator

See Also

Receiving notifications as an asynchronous sequence