mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
docs: systemPreferences.subscribeWorkspaceNotification return type (#28612)
Co-authored-by: Samuel Maddock <samuel.maddock@gmail.com>
This commit is contained in:
@@ -132,6 +132,8 @@ This is necessary for events such as `NSUserDefaultsDidChangeNotification`.
|
||||
* `userInfo` Record<String, unknown>
|
||||
* `object` String
|
||||
|
||||
Returns `Number` - The ID of this subscription
|
||||
|
||||
Same as `subscribeNotification`, but uses `NSWorkspace.sharedWorkspace.notificationCenter`.
|
||||
This is necessary for events such as `NSWorkspaceDidActivateApplicationNotification`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user