Diff

teal-src/util/poll.d.tl @ 12315:cf2086a1bd45

util.poll: Expose API (epoll or select) used Could he handy to know for debugging or decisions
author Kim Alvefur <zash@zash.se>
date Sun, 27 Feb 2022 14:36:43 +0100
parent 11459:86904555bffc
child 12316:6bb2f660f689
line wrap: on
line diff
--- a/teal-src/util/poll.d.tl	Wed Feb 23 20:30:22 2022 +0100
+++ b/teal-src/util/poll.d.tl	Sun Feb 27 14:36:43 2022 +0100
@@ -19,6 +19,11 @@
 	new : function () : state
 	ENOENT : integer
 	EEXIST : integer
+	enum api_backend
+		"epoll"
+		"select"
+	end
+	api : api_backend
 end
 
 return lib