Software /
code /
prosody
File
teal-src/util/interpolation.d.tl @ 12395:1e34b910b73a
util.logger: Return sink_function from add_simple_sink()
This allows a simple sink to be later removed via remove_sink()
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 17 Mar 2022 10:20:23 +0000 |
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