JointGate

JointGate

Joint between two agents

Constructor

new JointGate()

Source:

Methods

(async) receive() → {Promise.<object>}

Source:
Returns:
Type:
Promise.<object>
  • a promise that resolves the item when buffer contains or sended

(async) send(item) → {Promise}

Source:
Parameters:
Name Type Description
item object

sending item

Returns:
Type:
Promise
  • a promise that resolves immediately