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

Provide a function like OwnedEnv::async_send_and_clear #411

Open
hansihe opened this issue Nov 29, 2021 · 0 comments
Open

Provide a function like OwnedEnv::async_send_and_clear #411

hansihe opened this issue Nov 29, 2021 · 0 comments

Comments

@hansihe
Copy link
Member

hansihe commented Nov 29, 2021

OwnedEnv::send_and_clear enables you to construct a term in an owned env and send it to a process.

Having an async variant of this function would be useful, enabling you to construct terms across several sync suspend points.

The OwnedEnv::async_send_and_clear function would take a future as an argument and return a future.

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

No branches or pull requests

1 participant