Add documentation

Summary: Document Flipper integration with JavaScript clients.

Reviewed By: passy

Differential Revision: D31827187

fbshipit-source-id: c40d8820241c0f85bd2366a0c087d4270d316c71
This commit is contained in:
Andrey Goncharov
2021-10-22 06:27:44 -07:00
committed by Facebook GitHub Bot
parent 02115722b3
commit 9b16d0c29a
8 changed files with 335 additions and 49 deletions

View File

@@ -41,6 +41,8 @@ export interface FlipperPluginConnection {
*/
receive(method: string, receiver: FlipperPluginReceiver): void;
}
// DOCS_FLIPPER_PLUGIN_START
export interface FlipperPlugin {
/**
* @return The id of this plugin. This is the namespace which Flipper desktop plugins will call
@@ -66,3 +68,4 @@ export interface FlipperPlugin {
*/
runInBackground?(): boolean;
}
// DOCS_FLIPPER_PLUGIN_END