NotificationCenter

extension NotificationCenter
  • Convenience function for posting notifications with Request payloads.

    Declaration

    Swift

    func postNotification(named name: Notification.Name, with request: Request)

    Parameters

    name

    The name of the notification.

    request

    The Request payload.