-
Notifications
You must be signed in to change notification settings - Fork 419
Support send
and send-off
methods for Agent
#71
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
Conversation
This sounds like a great improvement. Is this something you wanted to work on? |
I'd like to focus on migrating Actress, but if I have spare time, or if I get stuck, or after migration is done, I'll do it if nobody is quicker :) I will assign myself to the issue if I'll start working on it. |
closed by mistake |
Please review. Open questions:
|
This PR broke the build for actors. Wrong number of arguments to the initializer for Other than the broken tests I am comfortable with this PR. Please feel free to merge it. |
And I should also add: Thank you very much for this update! |
|
@pitr-ch Is this PR ready to merge? I promised to create a pre-release build and I'd like to include this is you feel it's ready. |
Support `send` and `send-off` methods for Agent
like clojure has. Currently Agent supports setting an executor on initialization which globally sets the agent instance to be suitable for non-blocking only or for blocking. It would be better to be able to choose the executor when sending a function to an agent.
OneByOne
could be modified to ensure sequential execution of functions over two different executors.