Module One_or_two.Deferred

val sequence : [ `One of 'a Async_kernel.Deferred.t | `Two of 'a Async_kernel.Deferred.t * 'a Async_kernel.Deferred.t ] -> [ `One of 'a | `Two of 'a * 'a ] Async_kernel.Deferred.t
val map : [ `One of 'a | `Two of 'a * 'a ] -> f:( 'a -> 'b Async_kernel.Deferred.t ) -> [ `One of 'b | `Two of 'b * 'b ] Async_kernel.Deferred.t
val fold : [ `One of 'a | `Two of 'a * 'a ] -> init:'accum -> f:( 'accum -> 'a -> 'accum Async_kernel.Deferred.t ) -> 'accum Async_kernel.Deferred.t