Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface NodeActions

A Node Action represent all the possible actions that will be executed when the user is on the node. When the user enters the node, actions in the 'onEnter' are executed. If there are actions in 'onReceive', they will be called once the user reply something. Transitions in 'next' are evaluated after all others to determine where to send

Hierarchy

  • NodeActions

Index

Properties

Properties

Optional next

An array of possible transitions once everything is completed

Optional onEnter

onEnter: ActionBuilderProps[] | string[]

An array of actions to take when the user enters the node

Optional onReceive

onReceive: ActionBuilderProps[] | string[]

An array of actions to take when the user replies

Generated using TypeDoc