On this page

Source Code: lib/util/runtime.js#L455

Represents RuntimeSpecMap.

new RuntimeSpecMap(clone?): RuntimeSpecMap<T, R>
Source Code: lib/util/runtime.js#L460
Attributes
clone:RuntimeSpecMap<T, R>
Returns:RuntimeSpecMap<T, R>

Creates an instance of RuntimeSpecMap.

Source Code: lib/util/runtime.js#L678
Type:number
runtimeSpecMap.delete(runtime): void
Source Code: lib/util/runtime.js#L588
Attributes
runtime:RuntimeSpec

Processes the provided runtime.

runtimeSpecMap.get(runtime): R | undefined
Source Code: lib/util/runtime.js#L476
Attributes
runtime:RuntimeSpec
Returns:R | undefined

Returns value.

runtimeSpecMap.has(runtime): boolean
Source Code: lib/util/runtime.js#L496
Attributes
runtime:RuntimeSpec
Returns:boolean

Returns true, when the runtime is stored.

runtimeSpecMap.keys(): RuntimeSpec[]
Source Code: lib/util/runtime.js#L648
Returns:RuntimeSpec[]
runtimeSpecMap.provide(runtime, computer): R
Source Code: lib/util/runtime.js#L547
Attributes
runtime:RuntimeSpec
computer:() => R
Returns:R

Returns the new value.

runtimeSpecMap.set(runtime, value): void
Source Code: lib/util/runtime.js#L514
Attributes
runtime:RuntimeSpec
value:R

Updates default using the provided runtime.

runtimeSpecMap.update(runtime, fn): void
Source Code: lib/util/runtime.js#L610
Attributes
runtime:RuntimeSpec
fn:(value?: R) => R

Processes the provided runtime.

runtimeSpecMap.values(): IterableIterator<R>
Source Code: lib/util/runtime.js#L667
Returns:IterableIterator<R>

Returns values.