Methods
_stringify(item) → {string}
Convert item to string
- Source:
Parameters:
Name | Type | Description |
---|---|---|
item |
object
|
sended item |
Returns:
- Type:
-
string
written to stdout
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