Contents

post(_:)

Posts a given main actor message to the notification center.

Declaration

@MainActor func post<Message>(_ message: Message) where Message : NotificationCenter.MainActorMessage

Parameters

  • message:

    The message to post.

See Also

Posting notification messages