Behaviour · interface
BehaviorTasks
What a running tree calls: the consumer's own verbs, by the names the tree uses.
Explained in Agents and behaviour.
interface BehaviorTasksimport type { BehaviorTasks } from '@driftengine/core';Properties
| Name | Type | Description |
|---|---|---|
actionsreadonly | Readonly<Record<string, (context: never) => BehaviorStatus>> | Something that takes time. Returns RUNNING until it is done. |
conditionsreadonly | Readonly<Record<string, (context: never) => boolean>> | Something with an answer now. |