doc: Mention when protocol module is safe to use.
This commit is contained in:
parent
92e157de30
commit
e65220adb0
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
## protocol.registerProtocol(scheme, handler)
|
||||||
|
|
||||||
* `scheme` String
|
* `scheme` String
|
||||||
|
|
Loading…
Reference in a new issue