Dynamic Modules Questions

Kevin Smith khs4473 at gmail.com
Wed Mar 6 19:04:02 PST 2013


> > 3) There doesn't appear to be a way to provide a dynamically created
> module
> > instance (created via the Module constructor) as the result of the fetch
> > hook.  My thought is that such a feature might be useful for implementing
> > dynamically linked binary add-on modules in server environments.
>
> This is a good thought, and one we've considered.  Note that you can
> simply dynamically add the module using `System.set` during the fetch
> hook.


This would imply that the result of the fetch hook is ignored if the module
has been installed in the module instance table before the hook callbacks
are executed.  True?

Also, what is `System` exactly?  The base loader or something else?


> We may have more to say about a simpler API for this case in a
> little while.
>

So mysterious!  : )

{ Kevin }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130306/6556b5aa/attachment.html>


More information about the es-discuss mailing list