Software /
code /
prosody
File
teal-src/util/poll.d.tl @ 11457:6a51749af7f4
util.datamapper: Add initial support for parsing arrays
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 18 Mar 2021 12:57:25 +0100 |
parent | 11432:113f3912c7cb |
child | 11459:86904555bffc |
line wrap: on
line source
local record state enum waiterr "timeout" "signal" end add : function (state, number, boolean, boolean) : boolean add : function (state, number, boolean, boolean) : nil, string, number set : function (state, number, boolean, boolean) : boolean set : function (state, number, boolean, boolean) : nil, string, number del : function (state, number) : boolean del : function (state, number) : nil, string, number wait : function (state, number) : number, boolean, boolean wait : function (state, number) : nil, string, number wait : function (state, number) : nil, waiterr getfd : function (state) : number end local record lib new : function () : state ENOENT : number EEXIST : number end return lib