Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "lib/registry"

Index

Type aliases

RegistryImmutableIterator

RegistryImmutableIterator: IterableIterator<[string, Readonly<IRegistryValue>]>

The iterator for the registry. This can be used to walk through the entries in the screen registry. The entries cannot be modifed with this iterator.

RegistryIterator

RegistryIterator: RegistryImmutableIterator

The default iterator type for the registry. Immutable by default, to prevent accidental modifications

RegistryMutableIterator

RegistryMutableIterator: IterableIterator<[string, IRegistryValue]>

The iterator for the registry. This can be used to walk through the entries in the screen registry. The entries can be modifed with this iterator.

Variables

Const immutable

immutable: ReadonlyMap<string, Readonly<IRegistryValue>> = mutable

An immutable variable version of the registry. Useful to expose outside the library

Const mutable

mutable: Map<string, IRegistryValue<any>> = new Map<string, IRegistryValue>()

The mutable registry. Has a mapping of all registered screens from registerScreen