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 <stu...@testtrack4.com> 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 > Kepler-Project@lists.luaforge.net > http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project > http://www.keplerproject.org/ > _______________________________________________ Kepler-Project mailing list Kepler-Project@lists.luaforge.net http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project http://www.keplerproject.org/