mirror of
https://github.com/HackPlan/atom-shell.git
synced 2026-03-29 16:49:02 +08: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