Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "registry"

Index

Type aliases

ImmutableIterator

ImmutableIterator: IterableIterator<[string, Readonly<IValue>]>

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.

Iterator

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

MutableIterator

MutableIterator: IterableIterator<[string, IValue]>

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<IValue>> = mutable

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

Const mutable

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

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