Class CatchQueue

This built-in CatchQueue extension of the Queue base class is used by the Catch decorator to intercept Router navigation events and handles all errors thrown during the asynchronous evaluation of Router.navigate invocations. When the Catch decorator is applied at least once this CatchQueue will be automatically provided as Queue to the Linker-

Decorator

Singleton

See

Queue

Hierarchy (view full)

Constructors

Properties

[provide]: "sgrud.shell.Queue" = 'sgrud.shell.Queue'

Magic string by which this class is provided.

trapped: Map<Function, Record<PropertyKey, unknown>>

Mapping of all decorated Components to a Map of property keys and trapped errors.

traps: Map<Function, Map<PropertyKey, Catch>>

Mapping of all decorated Components to a Map of property keys and their traps.

router: Router

Factored-in router property linking the Router.

Decorator

Factor

Methods

Generated using TypeDoc