post(_:)
Posts a given main actor message to the notification center.
Declaration
@MainActor func post<Message>(_ message: Message) where Message : NotificationCenter.MainActorMessageParameters
- message:
The message to post.
Posts a given main actor message to the notification center.
@MainActor func post<Message>(_ message: Message) where Message : NotificationCenter.MainActorMessageThe message to post.