cawfree / react-native-webassembly

⚛️ 🏎 WebAssembly for React Native powered by JSI.
https://twitter.com/cawfree
MIT License
292 stars 6 forks source link

Improved callback interface. #3

Closed cawfree closed 1 year ago

cawfree commented 1 year ago

After some experimentation, the naive callback implementation strategy was insufficient for arbitrary method declarations; it's clear that there's no specific standard in interface definitions, so we needed to adopt a more robust/flexible pattern for mapping to callback types.