Sourceexception Flow of string Sourceexception Flow_write of string Sourceval service :
('connected_flow -> (Mimic.flow * impl, 'error) result Lwt.t) ->
('flow -> ('connected_flow, 'error) result Lwt.t) ->
('t -> ('flow, [> `Closed ] as 'error) result Lwt.t) ->
('t -> unit Lwt.t) ->
't service Sourceval serve :
?stop:Lwt_switch.t ->
't service ->
't ->
[ `Initialized of unit Lwt.t ]