YehudaKremer / FlutterCsharpRpc

Execute C# code from Dart (Flutter) application
https://pub.dev/packages/csharp_rpc
MIT License
42 stars 6 forks source link

[FEATURE REQUEST] Broadcast/Send Message from Server without Invoking any method. #2

Open iharoonamjad opened 1 year ago

iharoonamjad commented 1 year ago

Is it possible to send message from Server without having to invoke any method from client.

I have a scenario where U.are.U 4500 Fingerprint reader Emits Callbacks for different interactions with the device.

I need to send data from C# to Flutter on each interaction.

Is is possible? If yes? Can you please provide some example code.

Matej-Hlatky commented 1 year ago

What about making a blocking call that will return as soon 1st event occurs?