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

More classic asynchronous workflow potentiel #35

Open
jacomyal opened this issue Jun 17, 2013 · 0 comments
Open

More classic asynchronous workflow potentiel #35

jacomyal opened this issue Jun 17, 2013 · 0 comments

Comments

@jacomyal
Copy link
Owner

In a project I'm currently working on, I must load dynamically assets from my modules, and it's pretty painful, right now.

These assets cannot be referenced independantly in my domino controler, so since they are all lists, the property "lists" represents them:

  1. In my module constructor, I cannot dispatch event, since the events bindings are not done yet.
  2. Let's say I can dispatch my event (with some dirty setTimeout, for instance). So, I now when some assets are loaded (through the "listsUpdated" event), but I am not sure yet that this is actually the piece I need. Indeed, some other modules created at the same time might have asked for some other assets, right?

So, basically, what I suggest here is that for this kind of cases precisely, I would definitely enjoy to use a more classic, callback-based syntax to communicate from the module...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant