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

Thread-local actors that are !Send #7

Closed
Restioson opened this issue Jan 21, 2020 · 3 comments
Closed

Thread-local actors that are !Send #7

Restioson opened this issue Jan 21, 2020 · 3 comments
Labels
enhancement New feature or request

Comments

@Restioson
Copy link
Owner

This would probably require a LocalAddress struct in the outward facing api, as well as LocalAddressWeak.

@Restioson Restioson added the enhancement New feature or request label Jan 21, 2020
@Restioson Restioson modified the milestone: 0.2.0 Jan 21, 2020
@Restioson
Copy link
Owner Author

Restioson commented Jan 22, 2020

I'm reconsidering this feature, actually. Its implementation would be easy, but require a lot of unsatisfying duplication in the code. If anyone actually wants this (or has a suggestion on how to implement it without duplicating too much code), I would be willing to implement it. Closing for now.

@Restioson
Copy link
Owner Author

So it turns out that this is actually possible! I tracked down the issue and now non-Send actors are in the works! No support for non-send messages though ...yet?

@Restioson Restioson reopened this Jun 5, 2020
@Restioson
Copy link
Owner Author

Nope, it would need duplication unless we can have the type Fut<'a> = Box<dyn ...> in message_envelope.rs have a variable Send bound. :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant