Replace sonar with flipper in docs

Summary: Replaces sonar with flipper in the docs of a website

Reviewed By: passy

Differential Revision: D9046564

fbshipit-source-id: 55d03d787489406571ea0b4ac0adbc0daaa95cd4
This commit is contained in:
Pritesh Nandgaonkar
2018-07-31 10:27:42 -07:00
committed by Pascal Hartig
parent 2128515a5d
commit 8db555b259
16 changed files with 56 additions and 56 deletions

View File

@@ -37,7 +37,7 @@ this.client.send('methodName', DATA);
## Subscriptions
A client is not only able to respond to method calls but also push data directly to the Sonar desktop app. With the subscribe API your plugin can subscribe to there pushes from the client. Pass the name of the method and the API it is part of as well as a callback function to start a subscription. Any time the client sends a push matching this method the callback will be called with any attached data as a javascript object.
A client is not only able to respond to method calls but also push data directly to the Flipper desktop app. With the subscribe API your plugin can subscribe to there pushes from the client. Pass the name of the method and the API it is part of as well as a callback function to start a subscription. Any time the client sends a push matching this method the callback will be called with any attached data as a javascript object.
```javascript
this.client.subscribe('methodName', data => {