plannerjs - v0.4.1
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Array
Iterator
Async
Iterator
Buffered
Iterator
Cloned
Iterator
constructor
_buffer
_destination
_optional
_pushed
Count
_read
Position
_readable
_state
closed
ended
max
Buffer
Size
readable
source
CLOSED
CLOSING
ENDED
INIT
OPEN
STATES
default
Max
Listeners
_begin
_change
State
_close
When
Done
_complete
Close
_end
_fill
Buffer
_flush
_init
_push
_read
_to
String
Details
_transform
_validate
Source
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
Empty
Iterator
Integer
Iterator
Multi
Transform
Iterator
Simple
Transform
Iterator
Singleton
Iterator
Transform
Iterator
Buffered
Iterator
Options
Integer
Iterator
Options
Simple
Transform
Iterator
Options
Transform
Iterator
Options
Type parameters
T
Hierarchy
TransformIterator
<
T
,
T
>
ClonedIterator
Index
Constructors
constructor
Properties
_buffer
_destination
_optional
_pushed
Count
_read
Position
_readable
_state
closed
ended
max
Buffer
Size
readable
source
CLOSED
CLOSING
ENDED
INIT
OPEN
STATES
default
Max
Listeners
Methods
_begin
_change
State
_close
When
Done
_complete
Close
_end
_fill
Buffer
_flush
_init
_push
_read
_to
String
Details
_transform
_validate
Source
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
Cloned
Iterator
(
source
?:
AsyncIterator
<
T
>
)
:
ClonedIterator
Parameters
Optional
source:
AsyncIterator
<
T
>
Returns
ClonedIterator
Properties
_buffer
_buffer
:
T
[]
Optional
_destination
_destination
:
AsyncIterator
<
any
>
_optional
_optional
:
boolean
_pushed
Count
_pushed
Count
:
number
_read
Position
_read
Position
:
number
_readable
_readable
:
boolean
_state
_state
:
number
closed
closed
:
boolean
ended
ended
:
boolean
max
Buffer
Size
max
Buffer
Size
:
number
readable
readable
:
boolean
source
source
:
AsyncIterator
<
T
>
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
_begin
_begin
(
done
:
function
)
:
void
Parameters
done:
function
(
)
:
void
Returns
void
Returns
void
_change
State
_change
State
(
newState
:
number
, eventAsync
?:
boolean
)
:
void
Parameters
newState:
number
Optional
eventAsync:
boolean
Returns
void
_close
When
Done
_close
When
Done
(
)
:
void
Returns
void
_complete
Close
_complete
Close
(
)
:
void
Returns
void
_end
_end
(
)
:
void
Returns
void
_fill
Buffer
_fill
Buffer
(
)
:
void
Returns
void
_flush
_flush
(
done
:
function
)
:
void
Parameters
done:
function
(
)
:
void
Returns
void
Returns
void
_init
_init
(
autoStart
:
boolean
)
:
void
Parameters
autoStart:
boolean
Returns
void
_push
_push
(
item
:
T
)
:
void
Parameters
item:
T
Returns
void
_read
_read
(
count
:
number
, done
:
function
)
:
void
Parameters
count:
number
done:
function
(
)
:
void
Returns
void
Returns
void
_to
String
Details
_to
String
Details
(
)
:
string
Returns
string
_transform
_transform
(
item
:
T
, done
:
function
)
:
void
Parameters
item:
T
done:
function
(
result
:
T
)
:
void
Parameters
result:
T
Returns
void
Returns
void
_validate
Source
_validate
Source
(
source
:
AsyncIterator
<
T
>
, allowDestination
?:
boolean
)
:
void
Parameters
source:
AsyncIterator
<
T
>
Optional
allowDestination:
boolean
Returns
void
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