SAtacker / bb-config

Configure your beagle device
MIT License
41 stars 7 forks source link

Asynchronous io example #7

Closed ArthurSonzogni closed 3 years ago

ArthurSonzogni commented 3 years ago

Add a demo for background worker.

Make use of thread to run operations in the background. Use FTXUI Sender/Receiver to send data in between the threads.

Demo: https://asciinema.org/a/Y4DLwmldNHC0LKZzR7cUJx595

ArthurSonzogni commented 3 years ago

HI @SAtacker,

Here is a demo you can reuse later for running long operations in the background and displaying the result in the UI. Could you please take a look?

SAtacker commented 3 years ago

Thanks. This will help me to implement polling like functionality to check dbus changes in the future.