Skip to content

Can we make parent to child startup state passing less implicit #139

@goodboy

Description

@goodboy

As per my comment in #133, it would be good to have a more explicit setting/transfer of state to a child process on startup besides this setattr loop.

A couple things I can think of offhand include:

  • tryin attrs style instance variables
  • consider storing all the data in a single instance variable that can be easily serialized for debugging (like a dataclass)
  • don't actually store it on the Actor but instead in a global _state.py variable?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions