facebook/flipper

Question: Is it possible to notify database plugin that database has been updated.

Open

Aperta il 6 feb 2021

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)TypeScript (13.028 star) (972 fork)batch import
enhancementgood first issuehelp wanted

Descrizione

Whenever we switch to the database plugin or if we click on the refresh button

connection.receive(
        DATABASE_LIST_COMMAND,
....

is called thus, the info about our database is updated in the desktop client.

Is it possible to do the other way around, that is, notify the client that it should update the UI because our database has changed, thus not requiring to press the refresh button to see the most up to date information?

Thanks

Guida contributor