aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClombrong <cromblong@egregore.fun>2025-06-25 20:35:33 +0200
committerClombrong <cromblong@egregore.fun>2025-06-25 20:35:58 +0200
commitab45dfe4de91d1a19f5e4f3aeeaa045c8406b378 (patch)
tree7615e7d58fbda611f086bac0f3ad36ce74da3f12
parente1ed6394c065e1afe7a4f3221bdf7b019d1325ed (diff)
feat(portal_tcp): add portal type t
-rw-r--r--portal/tcp/portal_tcp.ml3
1 files changed, 3 insertions, 0 deletions
diff --git a/portal/tcp/portal_tcp.ml b/portal/tcp/portal_tcp.ml
index d79c088..69f0348 100644
--- a/portal/tcp/portal_tcp.ml
+++ b/portal/tcp/portal_tcp.ml
@@ -1,5 +1,8 @@
open Lwt.Syntax
open Lwt_unix
+open Markup
+
+type t = (signal, async) stream * ((signal, sync) stream option -> unit)
exception MalformedStanza of Markup.location * Markup.Error.t