You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This type can be used whenever we need to define a callback functions.
Rather than adding the type by hand, which was quite annoying when I was
doing the async work, we now can just add an item in
`ffi_callback_definitions()`.
This also can help avoid FFI type mismatches, like how I made the Kotlin
signature input a i16 instead of an i8.
Use the new type for the future continuation callback. I have another
plan for callback interface callbacks. I didn't touch the foreign
executor callback, I hope to work on that very soon.
0 commit comments