Hi Danielo



Are you invoking the callback at the end of your asynchronous startup?




Best wishes




Jeremy



—
[email protected]

On Fri, May 29, 2015 at 6:28 PM, Danielo Rodríguez <[email protected]>
wrote:

> Hello,
> I'm experiencing a weird behavior that took me some time to figure out.
> The problem as follows:
> I had two startup modules. Then I added a third module and one of the other 
> two modules stopped working suddenly. I ca'nt figure why, but maybe is 
> because I am not setting the order properly? Here is how they are 
> configured:
> // Export name and synchronous status
> exports.name = "pouchdb-sycer";
> exports.after = ["pouchdb"];
> exports.platforms = ["browser"];
> exports.synchronous = false;
> // Export name and synchronous status
> exports.name = "pouchdb";
> exports.before = ["startup"];
> exports.platforms = ["browser"];
> exports.synchronous = true;
> This below is the problematic one
> exports.name = "pouchdb-utils";
> exports.after = ["pouchdb"];
> exports.before = ["pouchdb-sycer"];
> exports.platforms = ["browser"];
> exports.synchronous = false;
> Could be because two of them are asynchronous?
> Thanks for any help
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWikiDev" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/tiddlywikidev.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywikidev/f9f32162-6c06-4348-b3e1-d9948cb6b560%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/1432920820785.fdfdfff8%40Nodemailer.
For more options, visit https://groups.google.com/d/optout.

Reply via email to