Documentationcurrent version
Help us improve the docs by fixing typos and proposing enhancements.

Nikita

Metadata "disabled"

The disabled metadata property disables the execution of the current action and consequently the execution of its child actions.

  • Type: boolean
  • Default: false

Usage

The behavior is activated by setting a value true to the disabled metadata property:

nikita
// Call a disabled action
.call({
  $disabled: true}, () => {
  // This will not be called
  console.log('I am not printed.')
})
Edit on GitHub
Navigate
About

Nikita is an open source project hosted on GitHub and developed by Adaltas.