Extend package

Extensions to the package module.

Functions

loadSwappable (ptab) Loads table of swappable modules.
hotswap (modref) Hotswaps module.
autoHotswapEnabled (b) Enable or disable auto-hotswap.
autoHotswapUpdateRate ([n=0.5]) Auto-hotswap polling rate.
updatePackages () Swaps modules if they were modified.


Functions

loadSwappable (ptab)
Loads table of swappable modules.

Parameters:

  • ptab table package table
hotswap (modref)
Hotswaps module.

Parameters:

autoHotswapEnabled (b)
Enable or disable auto-hotswap. Auto-hotswap checks whether files have been modified and swaps them automatically.

Parameters:

  • b bool enable hotswap
autoHotswapUpdateRate ([n=0.5])
Auto-hotswap polling rate. Amount of seconds between file modification checks.

Parameters:

  • n number seconds (default 0.5)
updatePackages ()
Swaps modules if they were modified. Automatically called if auto-hotswap is enabled.
generated by LDoc 1.4.3 Last updated 2015-04-20 03:01:38