Make Runtime template parameter of Actor and ActorConfig #1

Open
markuspf wants to merge 4 commits from feature/different-templating into main
Owner

This way the code becomes simpler, and (in my opinion) makes slightly more sense: Actors are templated on the runtime (but this variable is free).

This also enables easy spawning of new actors from inside message handlers.

Big footgun still: the runtime is not concurrency safe, so the list of actors should be a lock-free list soon.

This way the code becomes simpler, and (in my opinion) makes slightly more sense: Actors are templated on the runtime (but this variable is free). This also enables easy spawning of new actors from inside message handlers. Big footgun still: the runtime is not concurrency safe, so the list of actors should be a lock-free list soon.
This makes Actor configurations generic over the the Runtime
they will be run in; this enables much simpler message routing
with fewer classes and complications.

Remove dependencies on Dispatcher and External routing mechanisms
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feature/different-templating:feature/different-templating
git switch feature/different-templating

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff feature/different-templating
git switch feature/different-templating
git rebase main
git switch main
git merge --ff-only feature/different-templating
git switch feature/different-templating
git rebase main
git switch main
git merge --no-ff feature/different-templating
git switch main
git merge --squash feature/different-templating
git switch main
git merge --ff-only feature/different-templating
git switch main
git merge feature/different-templating
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
markuspf/actor!1
No description provided.