bugthesystem / FireSharp

An asynchronous cross-platform .Net library for Firebase
The Unlicense
693 stars 147 forks source link

OnAsync Lost Connection It doesn't recover #109

Open JINC06 opened 6 years ago

JINC06 commented 6 years ago

Hello, I am having a problem I want to implement Firesharp in a enviroment no very stable. The internet connection goes o get back later.

But I realized when this happen the OnAsync method it does not recover the connection is not listen anything again, there is something that I can do?

Thanks.

await _client.OnAsync(IdCompany, added: (s, args, context) => { EvaluateDataCreateBuzzer(args.Path, args.Data); }, changed: (s, args, context) => { Console.WriteLine(args); }, removed: (s, args, context) => { Console.WriteLine(args); });