Griffon
  1. Griffon
  2. GRIFFON-463

Disable the event bus for a time

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.5-rc1
    • Fix Version/s: 0.9.5-rc2
    • Component/s: rt
    • Labels:
      None
    • Number of attachments :
      0

      Description

      It would be great if the Eventrouter class exposed an enabled state flag. This state would indicate if the event router can actually send events to listeners or simply discards them.

      There are times when creating multiple MVC groups wehere there's no need to trigger MVC events for example, a custom MVCGroupManager can potentially disable the event router for a time, then enable it after the group has been constructed.

        Activity

        Show
        Andres Almiray added a comment - Fixed with https://github.com/griffon/griffon/commit/3acc8f292fa739c4e44ea44424e8cc0d23ac16e2

          People

          • Assignee:
            Andres Almiray
            Reporter:
            Andres Almiray
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: