It is the other way around, the "official" way is to pass the function
directly. Passing a module with a run function is there just as a
convenience.

--
Fabio Mascarenhas


On Mon, Jun 7, 2010 at 4:53 AM, Stuart P. Bentley <[email protected]> wrote:
> Why does WSAPI as a standard connector convention take a module (which I
> take to mean a table) that contains a run() function? How is this better
> than just taking the run() function directly? Are connectors built to use
> Lua package management or something?
>
>
> _______________________________________________
> Kepler-Project mailing list
> [email protected]
> http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
> http://www.keplerproject.org/
>

_______________________________________________
Kepler-Project mailing list
[email protected]
http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
http://www.keplerproject.org/

Reply via email to