Skip to content

Event blocking #345

Closed
Closed

Description

@kushalkolar

We could use an event blocking decorator everywhere we make bidirectional events.

It can just scan for every sub graphic and the every feature within a graphic. It could also take str args to specify specific graphics for which events should be blocked.

Useful in #344

Activity

  1. kushalkolar commented on Oct 27, 2023

    @kushalkolar
    MemberAuthor

    I wonder if there could be a automatic way to do this, when feature events are being called check that the event being called doesn't have the current feature

  2. kushalkolar commented on Oct 27, 2023

    @kushalkolar
    MemberAuthor

    Ivo suggested looking into observ

  3. kushalkolar commented on Nov 24, 2023

    @kushalkolar
    MemberAuthor

    One idea to stop callbacks is that when a event is received by an object, it will see if the current value is actually different from the received value. If it's the same, then stop the graph.

  4. changed the title [-]Event blocking decorator [/-] [+]Event blocking[/+] on Nov 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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