greenrobot / EventBus

Event bus for Android and Java that simplifies communication between Activities, Fragments, Threads, Services, etc. Less code, better quality.
http://greenrobot.org/eventbus/
Apache License 2.0
24.67k stars 4.66k forks source link

Can you support the OpenHarmony JavaScript version? #704

Open DoraCoder opened 2 years ago

DoraCoder commented 2 years ago

I am developing an OpenHarmony application with JavaScript language which used your library, will your library support OpenHarmony platform by JavaScript language? if so, I want to contribute to the OpenHarmony build of this library. Expecte foe your reply!

greenrobot-team commented 2 years ago

This is a Java/Android library, I'm not sure how this applies? Anyhow, at this point we are likely not supporting any additional platforms.

tomridder commented 1 year ago

u can achieve it by yourself. u can use the knowledge like reflection ,thread switch (main ->child ,child->main),and two Hashmap which is thread safe to store Method Information in javascript area to achieve this function