lib.set_waiting
Definition:
- lib.set_waiting (mod_id, mod_version, wait_state, freeze_key) :: nil
Description:
- Freezes or releases the pending execution state of mods dependent on the provided mod.
- This means that plugins set as dependent will be delayed until the master is ‘released’
Arguments:
- string mod_id: the mod to be frozen
- string mod_version: the version of the mod to be frozen
- string wait_state: "YES" to freeze the mod, "NO" to release the mod
- freeze_key: any value to act as a lock on this mod's dependents
Returns:
Other notes:
- Added in LME 3.8.x
- This function is vital for plugins that expect to do a lot of execution after the LME Init phase, such as any mod that expects to run during the default mod loader sequence.