Listen for a distributed notification.
The name of the notification to listen for, e.g. "com.apple.Music.playerInfo"
"com.apple.Music.playerInfo"
Called with the notification's sender string (or null) and its userInfo object (empty if it has none) each time the notification is posted
Throws an Error on failure; wrap calls in try/catch to handle it.
Listen for a distributed notification.