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

Add option to change actor's inbox size #589

Merged
merged 15 commits into from
Jul 27, 2023
Merged

Add option to change actor's inbox size #589

merged 15 commits into from
Jul 27, 2023

Conversation

Thomasdezeeuw
Copy link
Owner

@Thomasdezeeuw Thomasdezeeuw commented Jul 27, 2023

TODO:

  • Using this for sync actors.
    • In the heph crate, see spawn_sync_actor
    • In heph-rt, see rt::sync_worker::start.

Closes #513

@Thomasdezeeuw
Copy link
Owner Author

I think I first want to do #571 before using this in the sync actor, that we only have to do it in one location.

Returns itself as usize, otherwise it's pretty useless for the user
other than setting the value.
Gets and set the inbox size of the synchronous actor.
@Thomasdezeeuw Thomasdezeeuw merged commit 43f8a27 into main Jul 27, 2023
3 of 8 checks passed
@Thomasdezeeuw Thomasdezeeuw deleted the inbox-size branch July 27, 2023 19:16
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

Successfully merging this pull request may close these issues.

ActorOption for inbox size
1 participant