Skip to content

Unify Actor's context manager with manual init/exit methods #598

@vdusek

Description

@vdusek

The usage of an Actor's context manager versus explicitly calling init/exit is inconsistent. Specifically, exit accepts arguments, while aexit cannot take explicit arguments. This should be unified.

Moreover, the direction of delegation should likely be reversed: exit should call aexit, not the other way around, to ensure argument parity. Same for the init and aenter.

Metadata

Metadata

Assignees

Labels

t-toolingIssues with this label are in the ownership of the tooling team.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions