Skip to content

Type check event handler functions #414

@rmorshea

Description

@rmorshea

We should check that the given value is at least callable and raise a type error otherwise: https://github.com/idom-team/idom/blob/92e60b1d5f0057d359a9e12beb8a5de6e9d9b12a/src/idom/core/events.py#L174

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority-2-moderateShould be resolved on a reasonable timeline.type-revisionAbout a change in functionality or behavior

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions