-
Notifications
You must be signed in to change notification settings - Fork 29
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 execute-task to execute task and discard return value #22
base: master
Are you sure you want to change the base?
Conversation
This allows you to schedule a task without the overhead of needing to keep track of the return value.
I would really like to see this merged. Right now I'm running a special worker just to keep the channel from accumulating endless amounts of return values. |
@jorams (lparallel.kernel::submit-raw-task
(lparallel.kernel::make-task-instance
(lambda ()
(apply handler args))
:cl-events)
*kernel*) |
@deadtrickster but you have to use non-exported functions in that. And my change basically just exports a function that does that. |
Sorry for the delay. I think this is a good idea, though I'd prefer a name that makes it clearer what is happening -- maybe |
I think I would go with |
Random idea (that might give better ideas to someone else or make |
Can't just a |
A |
In Java/Scala you can define a future like Anyway. I don't want to interfere with this PR. |
What is keeping this from being merged? |
Yes, I also want this behavior. I don't want to have to purge the channel of unwanted return values. Is anyone managing this repo? It looks dead. |
This allows you to schedule a task without the overhead of needing to
keep track of the return value.