mirror of
https://github.com/electron/electron.git
synced 2026-01-11 00:18:02 -05:00
doc: Mention when protocol module is safe to use.
This commit is contained in:
@@ -14,6 +14,9 @@ protocol.registerProtocol('atom', function(request) {
|
||||
});
|
||||
```
|
||||
|
||||
**Note:** This module can only be used after the `will-finish-launching` event
|
||||
was emitted.
|
||||
|
||||
## protocol.registerProtocol(scheme, handler)
|
||||
|
||||
* `scheme` String
|
||||
|
||||
Reference in New Issue
Block a user