Methods
Connection()
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
options.id |
number | string | function |
<optional> |
|
options.from |
number | Array.<number> | string | Array.<string> | Object | Array.<Object> |
<optional> |
|
options.to |
number | Array.<number> | string | Array.<string> | Object | Array.<Object> |
<optional> |
- Source:
pull()
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
options.forward |
boolean |
<optional> |
true | |
options.front |
boolean |
<optional> |
true |
- Source:
Fires:
- event:prepull
- event:pull
- event:postpull
push(payload)
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
payload |
Object | |||
options.forward |
boolean |
<optional> |
true | |
options.front |
boolean |
<optional> |
false | Iff `true`, will add payload to the the front/begining of `this.forward` or `this.backward` |
- Source:
Fires:
- event:prepush
- event:push
- event:postpush