MemoryGate

MemoryGate

Memory Gate for Input/Output

Constructor

new MemoryGate()

Source:

Members

data

Source:

Methods

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

Source:
Returns:
Type:
Promise.<object>
  • A promise that resolves the item when recevied

(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