Skip to content

Allow registering event handlers that do not accept any parameters #344

@janbuchar

Description

@janbuchar

Originally reported by @fnesveda in Slack

This ⬇️ should work, now it does not:

async def foo() -> None:
    print("Ding")

Actor.on(Event.bang, ding)

Metadata

Metadata

Assignees

Labels

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

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions