Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/rambda/files/index.d.ts>composeAsync

Faster and smaller alternative to Ramda
Latest
function composeAsync
import { composeAsync } from "https://deno.land/x/rambda@9.4.1/files/index.d.ts";

Type Parameters

TArg
R1
R2
R3
R4
R5
R6
R7
TResult

Parameters

...func:
[
(a: any) => TResult,
Array<(a: any) => any>,
(a: Awaited<R6>) => R7,
(a: Awaited<R5>) => R6,
(a: Awaited<R4>) => R5,
(a: Awaited<R3>) => R4,
(a: Awaited<R2>) => R3,
(a: Awaited<R1>) => R2,
(a: Awaited<TArg>) => R1,
]

Returns

(a: TArg | Promise<TArg>) => TResult

Type Parameters

TArg
R1
R2
R3
R4
R5
R6
R7
TResult

Parameters

f7: (a: Awaited<R6>) => R7
f6: (a: Awaited<R5>) => R6
f5: (a: Awaited<R4>) => R5
f4: (a: Awaited<R3>) => R4
f3: (a: Awaited<R2>) => R3
f2: (a: Awaited<R1>) => R2
f1: (a: Awaited<TArg>) => R1

Returns

(a: TArg | Promise<TArg>) => R7

Type Parameters

TArg
R1
R2
R3
R4
R5
R6
R7

Parameters

f7: (a: Awaited<R6>) => R7
f6: (a: Awaited<R5>) => R6
f5: (a: Awaited<R4>) => R5
f4: (a: Awaited<R3>) => R4
f3: (a: Awaited<R2>) => R3
f2: (a: Awaited<R1>) => R2
f1: (a: Awaited<TArg>) => R1

Returns

(a: TArg | Promise<TArg>) => R7

Type Parameters

TArg
R1
R2
R3
R4
R5
R6

Parameters

f6: (a: Awaited<R5>) => R6
f5: (a: Awaited<R4>) => R5
f4: (a: Awaited<R3>) => R4
f3: (a: Awaited<R2>) => R3
f2: (a: Awaited<R1>) => R2
f1: (a: Awaited<TArg>) => R1

Returns

(a: TArg | Promise<TArg>) => R6

Type Parameters

TArg
R1
R2
R3
R4
R5

Parameters

f5: (a: Awaited<R4>) => R5
f4: (a: Awaited<R3>) => R4
f3: (a: Awaited<R2>) => R3
f2: (a: Awaited<R1>) => R2
f1: (a: Awaited<TArg>) => R1

Returns

(a: TArg | Promise<TArg>) => R5

Type Parameters

TArg
R1
R2
R3
R4

Parameters

f4: (a: Awaited<R3>) => R4
f3: (a: Awaited<R2>) => R3
f2: (a: Awaited<R1>) => R2
f1: (a: Awaited<TArg>) => R1

Returns

(a: TArg | Promise<TArg>) => R4

Type Parameters

TArg
R1
R2
R3

Parameters

f3: (a: Awaited<R2>) => R3
f2: (a: Awaited<R1>) => R2
f1: (a: Awaited<TArg>) => R1

Returns

(a: TArg | Promise<TArg>) => R3

Parameters

f2: (a: Awaited<R1>) => R2
f1: (a: Awaited<TArg>) => R1

Returns

(a: TArg | Promise<TArg>) => R2

Parameters

f1: (a: Awaited<TArg>) => R1

Returns

(a: TArg | Promise<TArg>) => R1