Skip to content
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

Add withUnsafeBytesAsync function to JSTypedArray #222

Merged
merged 3 commits into from
Mar 13, 2023

Conversation

fjtrujy
Copy link
Contributor

@fjtrujy fjtrujy commented Mar 13, 2023

Description

We could face some scenarios when the piece of code used inside of the withUnsafeBytes block could be async code, so this is why I have created this new function withUnsafeBytesAsync for such scenarios.

Cheers.

@kateinoigakukun kateinoigakukun merged commit 758cb4e into swiftwasm:main Mar 13, 2023
@kateinoigakukun kateinoigakukun deleted the withUnsafeBytesAsync branch March 13, 2023 12:31
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