Add execute-task to execute task and discard return value#22
Add execute-task to execute task and discard return value#22tmccombs wants to merge 2 commits intolmj:masterfrom
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.