Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Beans never dispatch events once a user navigates away from a view. #42

Open
ghost opened this issue Jun 12, 2013 · 0 comments
Open

Beans never dispatch events once a user navigates away from a view. #42

ghost opened this issue Jun 12, 2013 · 0 comments

Comments

@ghost
Copy link

ghost commented Jun 12, 2013

In this, the EventHandler and dispatching "method" only operate as expected until navigating away from the view. The view has a public, injected presentation model, the presentation has an injected service, a function that calls a method of that service, and an EventHandler that does something. The service has a dispatcher and a method that dispatches an event. The problem persists in this setup.

Unnecessary syntax has been removed for the following (pseudo)code:

View {
    [Inject] pub : Presentation
}

Presentation {
    [Inject] pub : Service
    λ (
        Service.method
    )
    [EventHandler(event 'event')] (
        do
    )
}

Service {
    [Dispatcher]

    method (
        dispatch 'event'
    )
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants