plannerjs - v0.4.1
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Array
Iterator
Async
Iterator
Buffered
Iterator
Cloned
Iterator
Empty
Iterator
Integer
Iterator
Multi
Transform
Iterator
Simple
Transform
Iterator
Singleton
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
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
Transform
Iterator
Buffered
Iterator
Options
Integer
Iterator
Options
Simple
Transform
Iterator
Options
Transform
Iterator
Options
Type parameters
T
Hierarchy
AsyncIterator
<
T
>
SingletonIterator
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
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
Singleton
Iterator
(
item
?:
T
)
:
SingletonIterator
Parameters
Optional
item:
T
Returns
SingletonIterator
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
<
T
>
Returns
ClonedIterator
<
T
>
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
:
T
)
:
void
Parameters
data:
T
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
>
filter
filter
(
filter
:
function
, self
?:
object
)
:
SimpleTransformIterator
<
T
,
T
>
Parameters
filter:
function
(
item
:
T
)
:
boolean
Parameters
item:
T
Returns
boolean
Optional
self:
object
Returns
SimpleTransformIterator
<
T
,
T
>
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
<
T
,
T2
>
Type parameters
T2
Parameters
mapper:
function
(
item
:
T
)
:
T2
Parameters
item:
T
Returns
T2
Optional
self:
object
Returns
SimpleTransformIterator
<
T
,
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
:
T
[]
|
AsyncIterator
<
T
>
)
:
SimpleTransformIterator
<
T
,
T
>
Parameters
items:
T
[]
|
AsyncIterator
<
T
>
Returns
SimpleTransformIterator
<
T
,
T
>
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
(
)
:
T
Returns
T
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
<
T
,
T2
>
)
:
SimpleTransformIterator
<
T
,
T2
>
Type parameters
T2
Parameters
Optional
options:
SimpleTransformIteratorOptions
<
T
,
T2
>
Returns
SimpleTransformIterator
<
T
,
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