mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
docs: systemPreferences.subscribeWorkspaceNotification return type (#28588)
This commit is contained in:
@@ -130,6 +130,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