stack-2.15.1: The Haskell Tool Stack
Safe HaskellSafe-Inferred
LanguageGHC2021

Control.Concurrent.Execute

Synopsis

Documentation

data ActionType Source #

Type representing types of Stack build actions.

Constructors

ATBuild

Action for building a package's library and executables. If taskAllInOne is True, then this will also build benchmarks and tests. It is False when the library's benchmarks or test-suites have cyclic dependencies.

ATBuildFinal

Task for building the package's benchmarks and test-suites. Requires that the library was already built.

ATRunTests

Task for running the package's test-suites.

ATRunBenchmarks

Task for running the package's benchmarks.

data ActionId Source #

Types representing the unique ids of Stack build actions.

Instances

Instances details
Show ActionId Source # 
Instance details

Defined in Control.Concurrent.Execute

Eq ActionId Source # 
Instance details

Defined in Control.Concurrent.Execute

Ord ActionId Source # 
Instance details

Defined in Control.Concurrent.Execute

data ActionContext Source #

Constructors

ActionContext 

Fields

data Action Source #

Type representing Stack build actions.

Constructors

Action 

Fields

data Concurrency Source #

Type representing permissions for actions to be run concurrently with others.

Instances

Instances details
Eq Concurrency Source # 
Instance details

Defined in Control.Concurrent.Execute

runActions Source #

Arguments

:: Int

threads

-> Bool

keep going after one task has failed

-> [Action] 
-> (TVar Int -> TVar (Set ActionId) -> IO ())

progress updated

-> IO [SomeException]