update promise notes

master
Jason Staten 6 years ago
parent bbfe32211c
commit 4d9300bb02

@ -45,7 +45,7 @@ rpc
## JsonRpc Options
- `origin` - (Default: `*`) Origin to send messages
- `methods` - (Default: `{}`) An object of exposed methods
- `methods` - (Default: `{}`) An object of exposed methods. Returning a Promise will defer responding until the promise has completed
- `source` - The source EventTarget to mount JSON rpc on (`Window`, `MessagePort`, etc)
- `destination` - Target MessageEventSource to send requests to

Loading…
Cancel
Save