On this page

Represents RuntimeSpecMap.

new RuntimeSpecMap(clone?): RuntimeSpecMap
Attributes
< <T> , <R> > copy form this
< <T> , <R> >

Creates an instance of RuntimeSpecMap.

Attributes
Represents RuntimeSpecMap.
delete(runtime): void
Attributes
the runtimes
Returns:<void>

Processes the provided runtime.


get(runtime): R | undefined
Attributes
the runtimes
Returns:
<R> | <undefined> value

Returns value.


has(runtime): boolean
Attributes
the runtimes
Returns:<boolean>
true, when the runtime is stored

Returns true, when the runtime is stored.


keys(): RuntimeSpec
[]

Represents RuntimeSpecMap.


provide(runtime, computer): R
Attributes
the runtimes
computer:<Function>
function to compute the value
Returns:
{R} the new value

Returns the new value.


set(runtime, value): void
Attributes
the runtimes
value:
{R} the value
Returns:<void>

Updates default using the provided runtime.


update(runtime, fn): void
Attributes
the runtimes
function to update the value
Returns:<void>

Processes the provided runtime.


values(): IterableIterator
Returns:
<IterableIterator> < <R> > values

Returns values.