Software /
code /
prosody
Annotate
teal-src/util/compat.d.tl @ 12503:ad49bb3a4780
mod_cron: Remove difference between teal version
This previously was considered an error because the module API Teal spec
did not document a return value from module:add_timer()
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 15 May 2022 15:29:02 +0200 |
parent | 11432:113f3912c7cb |
rev | line source |
---|---|
11432
113f3912c7cb
util: Add Teal interface definition files
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
1 local record lib |
113f3912c7cb
util: Add Teal interface definition files
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
2 xpcall : function (function, function, ...:any):boolean, any |
113f3912c7cb
util: Add Teal interface definition files
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
3 end |
113f3912c7cb
util: Add Teal interface definition files
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
4 return lib |