-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Re-export syncCallback'* prime variants. #152
base: master
Are you sure you want to change the base?
Conversation
0754dff
to
c116810
Compare
As the jsaddle does not support returning values in the "non-ghcjs" mode, may be it is better not to add these here, and rather directly use them from the module they are defined. (There exist a wip implementation of jsaddle on my fork which does support proper handling of sync callbacks, including returning values and exception handling, in all modes like warp and android) |
Well maybe we can still export these from
Do you think this will get merged? |
To be clear as well, these are not from |
I meant this will not be possible if there does not exist an API to return value from sync callback on jsaddle-warp.
Not really, it is significantly different now and will remain as a fork. |
Ah I see, then it sounds like we need some Callback newtype to generalize over ghcjs-base, GHC.JS.Foreign.Callback, and the WASM Callback type. |
Which branch on your jsaddle fork has these features? @dfordivam |
Need synchronous variants that return values. Unsure if this is the preferred way to re-export for
jsaddle
.