Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 752 Bytes

die_task.md

File metadata and controls

43 lines (31 loc) · 752 Bytes

DieTask

Stops the process brutally by calling PHP exit. The whole PHP script ends immediately: no following task, flush, blocking task or process end handling is executed. Intended for debugging only; use StopTask to stop a process cleanly.

Task reference

  • Service: CleverAge\ProcessBundle\Task\Debug\DieTask
  • Code: die (task: die)

Accepted inputs

Input is ignored

Possible outputs

None, the script is terminated

Options

This task has no option.

Examples

  • Terminate right after the first task
# Task configuration level
entry:
  task: constant_output
  options:
    output: { id: 123 }
  outputs: [die]
die:
  task: die