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

Mimic Task.yield #17

Open
adkron opened this issue May 5, 2023 · 0 comments
Open

Mimic Task.yield #17

adkron opened this issue May 5, 2023 · 0 comments

Comments

@adkron
Copy link
Collaborator

adkron commented May 5, 2023

I like that there is a basic dump of what happened and if they want more they can ask for the status of the Pipe.
The only way it doesn't match yield is that yield returns nil if there hasn't been a reply yet. We timeout and kill the process. Task doesn't kill the process.
We could mimic that interface completely was my thought.
Then we wouldn't kill the process, but I don't know if I like that. It feels like I could make run away processes. Although we might end up wanting to make a way to have long running process.

This was from a chat I was having with @akoutmos and we wanted to capture the thoughts here for the 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