Add server add-on documentation
Reviewed By: nikoant Differential Revision: D36446375 fbshipit-source-id: dfa9098428413bff454b5893f022735267dba5b8
This commit is contained in:
committed by
Facebook GitHub Bot
parent
76d4f01934
commit
88bc3110a5
@@ -153,9 +153,7 @@ export interface BasePluginClient<
|
||||
|
||||
/**
|
||||
* Subscribe to a specific event arriving from the server add-on.
|
||||
*
|
||||
* Messages can only arrive if the plugin is enabled and connected.
|
||||
* For background plugins messages will be batched and arrive the next time the plugin is connected.
|
||||
*/
|
||||
onServerAddOnMessage<Event extends keyof ServerAddOnEvents & string>(
|
||||
event: Event,
|
||||
|
||||
Reference in New Issue
Block a user