Skip to content

Pass dispatch_id to actors #116

Open
@shsms

Description

@shsms

What's needed?

The Dispatcher.start_managing currently passes a DispatchInfo and a Receiver[DispatchInfo] to the actor factory.
But the DispatchInfo objects don't have the dispatch ID.

actor_factory: Callable[
[DispatchInfo, Receiver[DispatchInfo]], Awaitable[Actor]
],

It should pass the dispatch ID to the actor factory. This would be useful for logging and matching the decision-making of actors with corresponding dispatches, especially when there are multiple active dispatches of the same type.

Proposed solution

No response

Use cases

No response

Alternatives and workarounds

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    part:❓We need to figure out which part is affectedpriority:❓We need to figure out how soon this should be addressedtype:enhancementNew feature or enhancement visitble to users

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions