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

Return yield result from pty::spawn() #6

Open
jay7x opened this issue Aug 29, 2024 · 0 comments
Open

Return yield result from pty::spawn() #6

jay7x opened this issue Aug 29, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@jay7x
Copy link
Owner

jay7x commented Aug 29, 2024

There is no way atm to get anything from the pty::spawn() block. Though sometimes it'd be nice to pass something to the calling scope. Easiest way is to return Any type. Maybe a bit better way is to return Bolt::Result type.

@jay7x jay7x added the enhancement New feature or request label Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant