Skip to content

chore: log warning if mixing using handler & connection #1061

@NathanFlurry

Description

@NathanFlurry

Mixing using the actor handle and actor connection can cause some unexpected behaviors in terms of race conditions.

Update the actor client & handle:

  • Log warning if calling stateless rpcs on a handle when there is a connection open. Determine this by maintaining a global variable of active actor connections.
  • Add a an option when getting an actor handle (getorcreate,create,etc) to silence this warning

@claude

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions