Methods
_parse(data) → {object}
Convert string to item
- Source:
Parameters:
Name | Type | Description |
---|---|---|
data |
string
|
a line from stdin |
Returns:
- Type:
-
object
item returned to the receiver
receive() → {Promise.<object>}
- Source:
Returns:
- Type:
-
Promise.<object>
- A promise that resolves the item when recevied