mirror of
https://github.com/c-cube/moonpool.git
synced 2025-12-06 03:05:30 -05:00
fix some @since tags
This commit is contained in:
parent
e56dbc6a09
commit
381a775d28
2 changed files with 4 additions and 4 deletions
|
|
@ -165,12 +165,12 @@ module Advanced : sig
|
|||
{b NOTE}: the behavior is not specified if [iter f cont] (for a function f)
|
||||
doesn't call [f] on exactly [len cont] elements.
|
||||
|
||||
@since NEXT_RELEASE *)
|
||||
@since 0.5.1 *)
|
||||
end
|
||||
|
||||
val map_list : f:('a -> 'b t) -> 'a list -> 'b list t
|
||||
(** [map_list ~f l] is like [join_list @@ List.map f l].
|
||||
@since NEXT_RELEASE *)
|
||||
@since 0.5.1 *)
|
||||
|
||||
val wait_array : _ t array -> unit t
|
||||
(** [wait_array arr] waits for all futures in [arr] to resolve. It discards
|
||||
|
|
|
|||
|
|
@ -42,12 +42,12 @@ val spawn : ?name:string -> on:Runner.t -> (unit -> 'a) -> 'a Fut.t
|
|||
(** [spawn ~on f] runs [f()] on the runner (a thread pool typically)
|
||||
and returns a future result for it. See {!Fut.spawn}.
|
||||
@param name if provided and [Trace] is present in dependencies,
|
||||
a span will be created for the future. (since NEXT_RELEASE)
|
||||
a span will be created for the future. (since 0.6)
|
||||
@since 0.5 *)
|
||||
|
||||
val spawn_on_current_runner : ?name:string -> (unit -> 'a) -> 'a Fut.t
|
||||
(** See {!Fut.spawn_on_current_runner}.
|
||||
@param name see {!spawn}. since NEXT_RELEASE.
|
||||
@param name see {!spawn}. since 0.6.
|
||||
@since 0.5 *)
|
||||
|
||||
[@@@ifge 5.0]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue