Skip to content

Conversation

gobengo
Copy link
Contributor

@gobengo gobengo commented Dec 11, 2023

I want to be able to use async functions in my Block encode/decode.

@gobengo
Copy link
Contributor Author

gobengo commented Dec 11, 2023

wdyt @Gozala @rvagg ?

@rvagg
Copy link
Member

rvagg commented Dec 13, 2023

What async codecs do you need this for? is it for codecs involving encryption, or something else? It's just unfortunate to introduce an async in createUnsafe which is supposed to be the fast one. I think it'd be mostly optimised away in the common case of codecs that are sync, but it is a slightly annoying UX hurdle when we've been exporting this as sync the whole time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants