On this page

compareRuntime(a, b): 0 | 1 | -1
Attributes
Returns:
<0> | <1> | <-1> compare

Compares the provided values and returns their ordering.


filterRuntime(runtime, filter): undefined | string | boolean | SortableSet
Attributes
runtime
filter:<Function>
filter function
< <string> > true/false if filter is constant for all runtimes, otherwise runtimes that are active

Returns true/false if filter is constant for all runtimes, otherwise runtimes that are active.


forEachRuntime(runtime, fn, deterministicOrder?): void
Attributes
runtime
functor
deterministicOrder:<boolean>
enforce a deterministic order
Returns:<void>

Processes the provided runtime.


getEntryRuntime(compilation, name, options?): RuntimeSpec
Attributes
compilation:<Compilation>
the compilation
name of the entry
optionally already received entry options
runtime

Gets entry runtime.


getRuntimeKey(runtime): string
Attributes
runtime(s)
Returns:<string>
key of runtimes

Returns key of runtimes.


intersectRuntime(a, b): RuntimeSpec
Attributes
merged

Returns merged.


keyToRuntime(key): RuntimeSpec
Attributes
key of runtimes
runtime(s)

Returns runtime(s).


mergeRuntime(a, b): RuntimeSpec
Attributes
merged

Merges the provided values into a single result.


mergeRuntimeCondition(a, b, runtime): RuntimeCondition
Attributes
full runtime
result

Merges runtime condition.


mergeRuntimeConditionNonFalse(a, b, runtime): undefined | string | true | SortableSet
Attributes
< <string> > first
< <string> > second
full runtime
Returns:<undefined> | <string> | <true> | <SortableSet>
< <string> > result

Merges runtime condition non false.


mergeRuntimeOwned(a, b): RuntimeSpec
Attributes
first (may be modified)
merged

Merges runtime owned.


runtimeConditionToString(runtimeCondition): string
Attributes
runtimeCondition:<RuntimeCondition>
runtime condition
Returns:<string>
readable version

Runtime condition to string.


runtimeEqual(a, b): boolean
Attributes
Returns:<boolean>
true, when they are equal

Returns true, when they are equal.


runtimeToString(runtime): string
Attributes
runtime(s)
Returns:<string>
readable version

Returns readable version.


subtractRuntime(a, b): RuntimeSpec
Attributes
result

Returns result.


subtractRuntimeCondition(a, b, runtime): RuntimeCondition
Attributes

Subtract runtime condition.