File

teal-src/util/interpolation.d.tl @ 11697:6c3d8aa3bbd9

net.server_epoll: Avoid allocating a buffer table for single writes writebuffer is now string | { string } Saves the allocation of a buffer table until the second write, which could be rare, especially with opportunistic writes.
author Kim Alvefur <zash@zash.se>
date Fri, 16 Jul 2021 15:38:38 +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