Represents RuntimeSpecMap.
new RuntimeSpecMap(clone?): RuntimeSpecMap<T, R>
Attributes
clone:
RuntimeSpecMap<T, R>Returns:
RuntimeSpecMap<T, R>Creates an instance of RuntimeSpecMap.
Source Code: lib/util/runtime.js#L678Type:
numberruntimeSpecMap.delete(runtime): void
Attributes
runtime:
RuntimeSpecProcesses the provided runtime.
runtimeSpecMap.get(runtime): R | undefined
Attributes
runtime:
RuntimeSpecReturns:
R | undefinedReturns value.
runtimeSpecMap.has(runtime): boolean
Attributes
runtime:
RuntimeSpecReturns:
booleanReturns true, when the runtime is stored.
runtimeSpecMap.keys(): RuntimeSpec[]
Returns:
RuntimeSpec[]runtimeSpecMap.provide(runtime, computer): R
Attributes
Returns the new value.
runtimeSpecMap.set(runtime, value): void
Attributes
runtime:
RuntimeSpecvalue:
RUpdates default using the provided runtime.
runtimeSpecMap.update(runtime, fn): void
Attributes
runtime:
RuntimeSpecfn:
(value?: R) => RProcesses the provided runtime.
runtimeSpecMap.values(): IterableIterator<R>
Returns:
IterableIterator<R>Returns values.