Open poesterlin opened 12 months ago
When you say not compatible with Promises what do you mean exactly? Can you post an example somewhere to test out?
Hi! We encountered the same issue and forked to enable the use of async functions with serialize
/deserialization
.
I hope this will be helpful to you.
Im trying to create a transferHandle for Origin Private File System (OPFS) file handles since they are not cloneable in all browsers. This is the approach I tried:
However, I've run into an issue where the serializer and deserializer functions are not compatible with Promises. This is causing the transferHandle to not work as expected.
I'm wondering if there is another way to solve this issue or if I need to do the serialization manually. Any help or suggestions would be greatly appreciated.