Software /
code /
prosody
File
teal-src/util/interpolation.d.tl @ 11732:5735f931f5c4
mod_pubsub: Update callbacks on reload to more completely refresh config
This would also release any resources held via references from these
callbacks.
I'm not sure why we don't just re-new() the whole thing.
Related to #1382
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 29 Jul 2021 17:37:27 +0200 |
parent | 11432:113f3912c7cb |
line wrap: on
line source
local type renderer = function (string, { string : any }) : string local type filter = function (string, any) : string local record lib new : function (string, string, funcs : { string : filter }) : renderer end return lib