Class: DeadlockManager

DeadlockManager(evaluator, renderer, eventBinderopt, componentNameopt)

Manages <@deadlock> reactive boundaries, containment checks, and error recovery fallbacks.

Constructor

new DeadlockManager(evaluator, renderer, eventBinderopt, componentNameopt)

Parameters:
Name Type Attributes Description
evaluator object

Expression evaluator.

renderer object

Template renderer.

eventBinder object <optional>

Event binder.

componentName string <optional>

Parent component name.

Source:

Classes

DeadlockManager

Methods

findBoundaries(root) → {Array:.<Element:>}

Finds all [data-ax-deadlock] boundary containers within a root element.

Parameters:
Name Type Description
root Element
Source:
Returns:
Type
Array:.<Element:>

isTripped(container) → {boolean}

Checks if a boundary is currently tripped.

Parameters:
Name Type Description
container Element

The [data-ax-deadlock] element.

Source:
Returns:
Type
boolean

reset(container)

Resets a tripped boundary so it can render normally again.

Parameters:
Name Type Description
container Element
Source:

trip(container, erroropt, scopeopt)

Trips a deadlock boundary, unmounting its active child subtree and rendering fallback UI.

Parameters:
Name Type Attributes Description
container Element

The [data-ax-deadlock] element.

error Error | object <optional>

The error or diagnostic details.

scope object <optional>

Evaluation scope.

Source: