Duplicator

Duplicator

Copying and item and sending all gates for Output

Constructor

new Duplicator(…outGates)

Source:
Parameters:
Name Type Attributes Description
outGates Gate <repeatable>

destination gates

Methods

(async) send(item) → {Promise}

Source:
Parameters:
Name Type Description
item object

sending item

Returns:
Type:
Promise
  • a promise that resolves when the item has been sended