package opam-core
Core library for opam 2.0
Install
Dune Dependency
Authors
-
VVincent Bernardoff <vb@luminar.eu.org>
-
RRaja Boujbel <raja.boujbel@ocamlpro.com>
-
RRoberto Di Cosmo <roberto@dicosmo.org>
-
TThomas Gazagnaire <thomas@gazagnaire.org>
-
LLouis Gesbert <louis.gesbert@ocamlpro.com>
-
FFabrice Le Fessant <Fabrice.Le_fessant@inria.fr>
-
AAnil Madhavapeddy <anil@recoil.org>
-
GGuillem Rieu <guillem.rieu@ocamlpro.com>
-
RRalf Treinen <ralf.treinen@pps.jussieu.fr>
-
FFrederic Tuong <tuong@users.gforge.inria.fr>
Maintainers
Sources
2.0.0-rc4.tar.gz
sha256=7f812f9b78e9948fb641bc559183721fedea62d3dafb2960bb786b400eae1de5
md5=385612adf8733f6816cfcbc39e3e1b50
doc/opam-core/OpamParallel/index.html
Module OpamParallel
Source
Parallel execution of jobs following a directed graph
When one job fails due to an exception, other running jobs are interrupted and reported with this sub-exception in the Errors list
Simply parallel execution of tasks
In the simple iter, map and reduce cases, ints are the indexes of the jobs in the list
Source
val iter :
jobs:int ->
command:('a -> unit OpamProcess.job) ->
?dry_run:bool ->
'a list ->
unit
Source
val map :
jobs:int ->
command:('a -> 'b OpamProcess.job) ->
?dry_run:bool ->
'a list ->
'b list
Source
val reduce :
jobs:int ->
command:('a -> 'b OpamProcess.job) ->
merge:('b -> 'b -> 'b) ->
nil:'b ->
?dry_run:bool ->
'a list ->
'b
More complex parallelism with dependency graphs
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>