yallie / Zyanea

:zzz: Zyanea was the codename for the next version of Zyan Communication Framework, a proof of concept.
http://zyan.com.de
MIT License
21 stars 5 forks source link

Events support? #7

Open alex6dj opened 5 years ago

alex6dj commented 5 years ago

I test the library and work well (except for the net core 3 problem). Is there any plan to support events. In my case is needed to handle progress events.

yallie commented 5 years ago

I test the library and work well (except for the net core 3 problem).

Thanks for your testing!

Concerning .NET Core 3, I guess we'll have to wait for Hyperion serializer update. Or maybe even try some other .NET serializers?

Is there any plan to support events. In my case is needed to handle progress events.

You're right, one of major Zyanea issues is that it doesn't support events. I never completed the project because my requirements for the library changed. So I had to switch to web sockets and built JsonServices instead.

Adding events to Zyanea shouldn't be very tricky though. Perhaps we can reuse some subscription-related classes from JsonServices. But I'm not sure I will have free time to implement it in the near future.

Would you like to try implementing support for events yourself? :) I'll be glad to grant you full access to this repository.