Skip to content

Notification Dict Construction and Routing #147

@rmorshea

Description

@rmorshea

One of the things I've been thinking about recently is how notification dicts ought to be made, and then routed to their appropriate event handlers. At the moment _notify_trait receives several arguments from a TraitType, constructs a change dict, and then distributes it to notify_change. In the future, it seems like making _notify_trait responsible for constructing these notification dicts will make it difficult to generalize this process for events other than changes. It makes more sense to me that TraitTypes would be responsible for constructing dicts such that _notify_trait would know how to route them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions