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
Currently we cannot use a reference to a tsify(from_wasm_abi) type in a async function.
This is because reference in async function needs to implement LongRefFromWasmAbi for reasons described in wasm-bindgen#3188 and here
#32 actually showed that the implementation of RefFromWasmAbi before the fix #33 was the correct one for LongRefFromWasmAbi
I plan to do a PR to implement this. This would make values deriving from_wasm_abi universally admissible as input by value or reference of a wasm-bindgen function async or not !
I am working on finding a good test for it and maybe change the documentation to feature all the nice things tsify-next provides 😁