docs: tweak example
This commit is contained in:
1 file changed
+9
@@ -89,6 +89,15 @@ class IPCRequest {
|
||||
|
||||
/**
|
||||
* A simple factory for generating IPCRequests in Ember.
|
||||
* @example
|
||||
*
|
||||
* class MyClass {
|
||||
* @service ipc;
|
||||
*
|
||||
* makeRequest {
|
||||
* return this.ipc.invoke('getFoobars', { hello: 'world' });
|
||||
* }
|
||||
* }
|
||||
*/
|
||||
export default class IpcService extends Service {
|
||||
|
||||
|
||||
Reference in new issue
Block a user