@hyperjump/pact
async
map
Variable map
Const
map
:
<
A
,
B
>
(
fn
:
AsyncMapper
<
A
,
B
>
,
iterator
:
Iterable
<
A
>
|
AsyncIterable
<
A
>
,
)
=>
AsyncGenerator
<
B
>
&
<
A
,
B
>
(
fn
:
AsyncMapper
<
A
,
B
>
,
)
=>
(
iterator
:
Iterable
<
A
>
|
AsyncIterable
<
A
>
)
=>
AsyncGenerator
<
B
>
Same as
map
, but works with AsyncIterables and async mapping functions.
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
@hyperjump/pact
async
collectArray
collectMap
collectObject
collectSet
concat
count
drop
empty
every
filter
flatten
head
join
map
pipe
range
reduce
scan
some
take
tap
zip
pact
asyncDrop
asyncDropWhile
asyncEvery
asyncFilter
asyncFind
asyncJoin
asyncMap
asyncReduce
asyncScan
asyncSome
asyncTake
asyncTakeWhile
asyncTap
drop
dropWhile
every
filter
find
join
map
pipe
reduce
scan
some
take
takeWhile
tap
asyncCollectArray
asyncCollectMap
asyncCollectObject
asyncCollectSet
asyncConcat
asyncCount
asyncEmpty
asyncFlatten
asyncHead
asyncZip
collectArray
collectMap
collectObject
collectSet
concat
count
empty
flatten
head
range
zip
M
M
N
E
P
V
F
C
I
C
P
M
F
P
C
P
T
T
A
A
A
T
R
Same as
map
, but works with AsyncIterables and async mapping functions.