# Class: ParallelCommand

## chaining ParallelCommand

Paralle commands, that executes all commands parallely

#### new ParallelCommand(id, commands)

  Paralle commands, that executes all commands parallely

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `id` | string | id of command
  `commands` | array | null |

### Extends

- chaining.AbstractListCommand

### Methods

#### <protected> _getCommandCount(source)

  Get count of the commands

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `source` | array | commands

  Inherited From:
    - chaining.AbstractListCommand#_getCommandCount

  ##### Returns:

  count
  Type
    number

#### <abstract, protected> _onSubCommandSignal(id, target, data)

  Command listener

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `id` | chaining.CommandEvent | event id
  `target` | chaining.AbstractCommand | command
  `data` | * |

  Inherited From:
    - chaining.AbstractListCommand#_onSubCommandSignal

#### addCommand(command)

  Add command to the list

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `command` | chaining.AbstractCommand |

  Inherited From:
    - chaining.AbstractListCommand#addCommand

#### destroy()

  Destroy command object and all child commands and release resources
  Inherited From:
    - chaining.AbstractListCommand#destroy

#### removeCommand(id)

  Remove command from the list

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `id` | string | id of the command

  Inherited From:
    - chaining.AbstractListCommand#removeCommand

#### start()

  Start execution of the comamnd
  Inherited From:
    - chaining.AbstractListCommand#start

#### stop()

  Stop execution of the comamnd
  Inherited From:
    - chaining.AbstractListCommand#stop

#### Search results