We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ff5c34 commit 5bdf566Copy full SHA for 5bdf566
lib_eio/unix/private.ml
@@ -12,7 +12,10 @@ type _ Effect.t +=
12
let await_readable fd = Effect.perform (Await_readable fd)
13
let await_writable fd = Effect.perform (Await_writable fd)
14
15
-let pipe sw = Effect.perform (Pipe sw)
+let pipe sw =
16
+ let (src, sink) = Effect.perform (Pipe sw) in
17
+ (src :> source_ty r),
18
+ (sink :> sink_ty r)
19
20
module Rcfd = Rcfd
21
module Fork_action = Fork_action
0 commit comments