code/modules/admin/verbs/lua/helpers.dm
/datum/promise | Byondapi hooks act as "set waitfor = 0" procs. This means that whenever a proc directly called from an external library sleeps, the hook returns with whatever the called proc had as its return value at the moment it slept. This may not be desired behavior, so this datum exists to wrap these procs. |
---|