plannerjs - v0.4.1
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Forward
Connection
Iterator
constructor
_destination
_readable
_state
closed
ended
readable
CLOSED
CLOSING
ENDED
INIT
OPEN
STATES
default
Max
Listeners
_change
State
_end
_to
String
Details
add
Listener
append
clone
close
copy
Properties
each
emit
event
Names
fetch
Page
filter
get
Max
Listeners
get
Properties
get
Property
listener
Count
listeners
map
off
on
once
prepend
prepend
Listener
prepend
Once
Listener
range
raw
Listeners
read
remove
All
Listeners
remove
Listener
set
Max
Listeners
set
Properties
set
Property
skip
surround
take
to
String
transform
listener
Count
range
Hierarchy
AsyncIterator
<
IConnection
>
ForwardConnectionIterator
Index
Constructors
constructor
Properties
_destination
_readable
_state
closed
ended
readable
CLOSED
CLOSING
ENDED
INIT
OPEN
STATES
default
Max
Listeners
Methods
_change
State
_end
_to
String
Details
add
Listener
append
clone
close
copy
Properties
each
emit
event
Names
fetch
Page
filter
get
Max
Listeners
get
Properties
get
Property
listener
Count
listeners
map
off
on
once
prepend
prepend
Listener
prepend
Once
Listener
range
raw
Listeners
read
remove
All
Listeners
remove
Listener
set
Max
Listeners
set
Properties
set
Property
skip
surround
take
to
String
transform
listener
Count
range
Constructors
constructor
new
Forward
Connection
Iterator
(
provider
:
IConnectionsProvider
, options
:
IConnectionsIteratorOptions
, beginUrl
:
string
)
:
ForwardConnectionIterator
Parameters
provider:
IConnectionsProvider
options:
IConnectionsIteratorOptions
beginUrl:
string
Returns
ForwardConnectionIterator
Properties
Optional
_destination
_destination
:
AsyncIterator
<
any
>
_readable
_readable
:
boolean
_state
_state
:
number
closed
closed
:
boolean
ended
ended
:
boolean
readable
readable
:
boolean
Static
CLOSED
CLOSED
:
3
Static
CLOSING
CLOSING
:
2
Static
ENDED
ENDED
:
4
Static
INIT
INIT
:
0
Static
OPEN
OPEN
:
1
Static
STATES
STATES
:
[
"INIT"
,
"OPEN"
,
"CLOSING"
,
"CLOSED"
,
"ENDED"
]
Static
default
Max
Listeners
default
Max
Listeners
:
number
Methods
_change
State
_change
State
(
newState
:
number
, eventAsync
?:
boolean
)
:
void
Parameters
newState:
number
Optional
eventAsync:
boolean
Returns
void
_end
_end
(
)
:
void
Returns
void
_to
String
Details
_to
String
Details
(
)
:
string
Returns
string
add
Listener
add
Listener
(
event
:
string
|
symbol
, listener
:
function
)
:
this
Parameters
event:
string
|
symbol
listener:
function
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
this
append
append<T>
(
items
:
T
[]
|
AsyncIterator
<
T
>
)
:
SimpleTransformIterator
<
T
,
T
>
Type parameters
T
Parameters
items:
T
[]
|
AsyncIterator
<
T
>
Returns
SimpleTransformIterator
<
T
,
T
>
clone
clone
(
)
:
ClonedIterator
<
IConnection
>
Returns
ClonedIterator
<
IConnection
>
close
close
(
)
:
void
Returns
void
copy
Properties
copy
Properties
(
source
:
AsyncIterator
<
any
>
, propertyNames
:
string
[]
)
:
void
Parameters
source:
AsyncIterator
<
any
>
propertyNames:
string
[]
Returns
void
each
each
(
callback
:
function
, self
?:
any
)
:
void
Parameters
callback:
function
(
data
:
IConnection
)
:
void
Parameters
data:
IConnection
Returns
void
Optional
self:
any
Returns
void
emit
emit
(
event
:
string
|
symbol
,
...
args
:
any
[]
)
:
boolean
Parameters
event:
string
|
symbol
Rest
...
args:
any
[]
Returns
boolean
event
Names
event
Names
(
)
:
Array
<
string
|
symbol
>
Returns
Array
<
string
|
symbol
>
fetch
Page
fetch
Page
(
url
:
any
)
:
Promise
<
void
>
Parameters
url:
any
Returns
Promise
<
void
>
filter
filter
(
filter
:
function
, self
?:
object
)
:
SimpleTransformIterator
<
IConnection
,
IConnection
>
Parameters
filter:
function
(
item
:
IConnection
)
:
boolean
Parameters
item:
IConnection
Returns
boolean
Optional
self:
object
Returns
SimpleTransformIterator
<
IConnection
,
IConnection
>
get
Max
Listeners
get
Max
Listeners
(
)
:
number
Returns
number
get
Properties
get
Properties
(
)
:
object
Returns
object
[
id:
string
]:
any
get
Property
get
Property
(
propertyName
:
string
, callback
?:
function
)
:
any
Parameters
propertyName:
string
Optional
callback:
function
(
value
:
any
)
:
void
Parameters
value:
any
Returns
void
Returns
any
listener
Count
listener
Count
(
type
:
string
|
symbol
)
:
number
Parameters
type:
string
|
symbol
Returns
number
listeners
listeners
(
event
:
string
|
symbol
)
:
Function
[]
Parameters
event:
string
|
symbol
Returns
Function
[]
map
map<T2>
(
mapper
:
function
, self
?:
object
)
:
SimpleTransformIterator
<
IConnection
,
T2
>
Type parameters
T2
Parameters
mapper:
function
(
item
:
IConnection
)
:
T2
Parameters
item:
IConnection
Returns
T2
Optional
self:
object
Returns
SimpleTransformIterator
<
IConnection
,
T2
>
off
off
(
event
:
string
|
symbol
, listener
:
function
)
:
this
Parameters
event:
string
|
symbol
listener:
function
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
this
on
on
(
event
:
string
|
symbol
, listener
:
function
)
:
this
Parameters
event:
string
|
symbol
listener:
function
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
this
once
once
(
event
:
string
|
symbol
, listener
:
function
)
:
this
Parameters
event:
string
|
symbol
listener:
function
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
this
prepend
prepend
(
items
:
IConnection
[]
|
AsyncIterator
<
IConnection
>
)
:
SimpleTransformIterator
<
IConnection
,
IConnection
>
Parameters
items:
IConnection
[]
|
AsyncIterator
<
IConnection
>
Returns
SimpleTransformIterator
<
IConnection
,
IConnection
>
prepend
Listener
prepend
Listener
(
event
:
string
|
symbol
, listener
:
function
)
:
this
Parameters
event:
string
|
symbol
listener:
function
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
this
prepend
Once
Listener
prepend
Once
Listener
(
event
:
string
|
symbol
, listener
:
function
)
:
this
Parameters
event:
string
|
symbol
listener:
function
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
this
range
range<T>
(
start
:
number
, end
:
number
)
:
SimpleTransformIterator
<
T
,
T
>
Type parameters
T
Parameters
start:
number
end:
number
Returns
SimpleTransformIterator
<
T
,
T
>
raw
Listeners
raw
Listeners
(
event
:
string
|
symbol
)
:
Function
[]
Parameters
event:
string
|
symbol
Returns
Function
[]
read
read
(
)
:
IConnection
Returns
IConnection
remove
All
Listeners
remove
All
Listeners
(
event
?:
string
|
symbol
)
:
this
Parameters
Optional
event:
string
|
symbol
Returns
this
remove
Listener
remove
Listener
(
event
:
string
|
symbol
, listener
:
function
)
:
this
Parameters
event:
string
|
symbol
listener:
function
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
this
set
Max
Listeners
set
Max
Listeners
(
n
:
number
)
:
this
Parameters
n:
number
Returns
this
set
Properties
set
Properties
(
properties
:
object
)
:
void
Parameters
properties:
object
[
id:
string
]:
any
Returns
void
set
Property
set
Property
(
propertyName
:
string
, value
:
any
)
:
void
Parameters
propertyName:
string
value:
any
Returns
void
skip
skip<T>
(
offset
:
number
)
:
SimpleTransformIterator
<
T
,
T
>
Type parameters
T
Parameters
offset:
number
Returns
SimpleTransformIterator
<
T
,
T
>
surround
surround<T>
(
prepend
:
T
[]
|
AsyncIterator
<
T
>
, append
:
T
[]
|
AsyncIterator
<
T
>
)
:
SimpleTransformIterator
<
T
,
T
>
Type parameters
T
Parameters
prepend:
T
[]
|
AsyncIterator
<
T
>
append:
T
[]
|
AsyncIterator
<
T
>
Returns
SimpleTransformIterator
<
T
,
T
>
take
take<T>
(
limit
:
number
)
:
SimpleTransformIterator
<
T
,
T
>
Type parameters
T
Parameters
limit:
number
Returns
SimpleTransformIterator
<
T
,
T
>
to
String
to
String
(
)
:
string
Returns
string
transform
transform<T2>
(
options
?:
SimpleTransformIteratorOptions
<
IConnection
,
T2
>
)
:
SimpleTransformIterator
<
IConnection
,
T2
>
Type parameters
T2
Parameters
Optional
options:
SimpleTransformIteratorOptions
<
IConnection
,
T2
>
Returns
SimpleTransformIterator
<
IConnection
,
T2
>
Static
listener
Count
listener
Count
(
emitter
:
EventEmitter
, event
:
string
|
symbol
)
:
number
deprecated
since v4.0.0
Parameters
emitter:
EventEmitter
event:
string
|
symbol
Returns
number
Static
range
range
(
start
?:
number
, end
?:
number
, step
?:
number
)
:
IntegerIterator
Parameters
Optional
start:
number
Optional
end:
number
Optional
step:
number
Returns
IntegerIterator
Generated using
TypeDoc
since v4.0.0