Quartz Headless docs/TreeLoadChildrenFn

Search documentation

Type to search the documentation.

API: Primitives

TreeLoadChildrenFn

Resolves the children of node.

Overview

Resolves the children of node. Called at most once per node for a successful load. A rejection puts the node in the error state (see TreeService.retry).

Definition

type TreeLoadChildrenFn<T = unknown> = (node: TreeNode<T>) => Promise<TreeNode<T>[]>;