Skip to content

pipeAsync

pipeAsync<A>(a): Promise<A>

Defined in: Composition/pipeAsync.ts:19

Pipes a value through a sequence of operations, supporting asynchronous transitions at any step. Awaits promises at each step before passing the resolved value to the next function.

A

Awaitable<A>

Promise<A>

await pipeAsync(
  42,
  n => Promise.resolve(`user-${n}`),
  name => name.toUpperCase()
); // "USER-42"
  • flowAsync for creating reusable async pipelines
  • pipe for synchronous pipelines

pipeAsync<A, B>(a, ab): Promise<B>

Defined in: Composition/pipeAsync.ts:20

Pipes a value through a sequence of operations, supporting asynchronous transitions at any step. Awaits promises at each step before passing the resolved value to the next function.

A

B

Awaitable<A>

(a) => Awaitable<B>

Promise<B>

await pipeAsync(
  42,
  n => Promise.resolve(`user-${n}`),
  name => name.toUpperCase()
); // "USER-42"
  • flowAsync for creating reusable async pipelines
  • pipe for synchronous pipelines

pipeAsync<A, B, C>(a, ab, bc): Promise<C>

Defined in: Composition/pipeAsync.ts:21

Pipes a value through a sequence of operations, supporting asynchronous transitions at any step. Awaits promises at each step before passing the resolved value to the next function.

A

B

C

Awaitable<A>

(a) => Awaitable<B>

(b) => Awaitable<C>

Promise<C>

await pipeAsync(
  42,
  n => Promise.resolve(`user-${n}`),
  name => name.toUpperCase()
); // "USER-42"
  • flowAsync for creating reusable async pipelines
  • pipe for synchronous pipelines

pipeAsync<A, B, C, D>(a, ab, bc, cd): Promise<D>

Defined in: Composition/pipeAsync.ts:22

Pipes a value through a sequence of operations, supporting asynchronous transitions at any step. Awaits promises at each step before passing the resolved value to the next function.

A

B

C

D

Awaitable<A>

(a) => Awaitable<B>

(b) => Awaitable<C>

(c) => Awaitable<D>

Promise<D>

await pipeAsync(
  42,
  n => Promise.resolve(`user-${n}`),
  name => name.toUpperCase()
); // "USER-42"
  • flowAsync for creating reusable async pipelines
  • pipe for synchronous pipelines

pipeAsync<A, B, C, D, E>(a, ab, bc, cd, de): Promise<E>

Defined in: Composition/pipeAsync.ts:28

Pipes a value through a sequence of operations, supporting asynchronous transitions at any step. Awaits promises at each step before passing the resolved value to the next function.

A

B

C

D

E

Awaitable<A>

(a) => Awaitable<B>

(b) => Awaitable<C>

(c) => Awaitable<D>

(d) => Awaitable<E>

Promise<E>

await pipeAsync(
  42,
  n => Promise.resolve(`user-${n}`),
  name => name.toUpperCase()
); // "USER-42"
  • flowAsync for creating reusable async pipelines
  • pipe for synchronous pipelines

pipeAsync<A, B, C, D, E, F>(a, ab, bc, cd, de, ef): Promise<F>

Defined in: Composition/pipeAsync.ts:35

Pipes a value through a sequence of operations, supporting asynchronous transitions at any step. Awaits promises at each step before passing the resolved value to the next function.

A

B

C

D

E

F

Awaitable<A>

(a) => Awaitable<B>

(b) => Awaitable<C>

(c) => Awaitable<D>

(d) => Awaitable<E>

(e) => Awaitable<F>

Promise<F>

await pipeAsync(
  42,
  n => Promise.resolve(`user-${n}`),
  name => name.toUpperCase()
); // "USER-42"
  • flowAsync for creating reusable async pipelines
  • pipe for synchronous pipelines

pipeAsync<A, B, C, D, E, F, G>(a, ab, bc, cd, de, ef, fg): Promise<G>

Defined in: Composition/pipeAsync.ts:43

Pipes a value through a sequence of operations, supporting asynchronous transitions at any step. Awaits promises at each step before passing the resolved value to the next function.

A

B

C

D

E

F

G

Awaitable<A>

(a) => Awaitable<B>

(b) => Awaitable<C>

(c) => Awaitable<D>

(d) => Awaitable<E>

(e) => Awaitable<F>

(f) => Awaitable<G>

Promise<G>

await pipeAsync(
  42,
  n => Promise.resolve(`user-${n}`),
  name => name.toUpperCase()
); // "USER-42"
  • flowAsync for creating reusable async pipelines
  • pipe for synchronous pipelines

pipeAsync<A, B, C, D, E, F, G, H>(a, ab, bc, cd, de, ef, fg, gh): Promise<H>

Defined in: Composition/pipeAsync.ts:52

Pipes a value through a sequence of operations, supporting asynchronous transitions at any step. Awaits promises at each step before passing the resolved value to the next function.

A

B

C

D

E

F

G

H

Awaitable<A>

(a) => Awaitable<B>

(b) => Awaitable<C>

(c) => Awaitable<D>

(d) => Awaitable<E>

(e) => Awaitable<F>

(f) => Awaitable<G>

(g) => Awaitable<H>

Promise<H>

await pipeAsync(
  42,
  n => Promise.resolve(`user-${n}`),
  name => name.toUpperCase()
); // "USER-42"
  • flowAsync for creating reusable async pipelines
  • pipe for synchronous pipelines

pipeAsync<A, B, C, D, E, F, G, H, I>(a, ab, bc, cd, de, ef, fg, gh, hi): Promise<I>

Defined in: Composition/pipeAsync.ts:62

Pipes a value through a sequence of operations, supporting asynchronous transitions at any step. Awaits promises at each step before passing the resolved value to the next function.

A

B

C

D

E

F

G

H

I

Awaitable<A>

(a) => Awaitable<B>

(b) => Awaitable<C>

(c) => Awaitable<D>

(d) => Awaitable<E>

(e) => Awaitable<F>

(f) => Awaitable<G>

(g) => Awaitable<H>

(h) => Awaitable<I>

Promise<I>

await pipeAsync(
  42,
  n => Promise.resolve(`user-${n}`),
  name => name.toUpperCase()
); // "USER-42"
  • flowAsync for creating reusable async pipelines
  • pipe for synchronous pipelines

pipeAsync<A, B, C, D, E, F, G, H, I, J>(a, ab, bc, cd, de, ef, fg, gh, hi, ij): Promise<J>

Defined in: Composition/pipeAsync.ts:73

Pipes a value through a sequence of operations, supporting asynchronous transitions at any step. Awaits promises at each step before passing the resolved value to the next function.

A

B

C

D

E

F

G

H

I

J

Awaitable<A>

(a) => Awaitable<B>

(b) => Awaitable<C>

(c) => Awaitable<D>

(d) => Awaitable<E>

(e) => Awaitable<F>

(f) => Awaitable<G>

(g) => Awaitable<H>

(h) => Awaitable<I>

(i) => Awaitable<J>

Promise<J>

await pipeAsync(
  42,
  n => Promise.resolve(`user-${n}`),
  name => name.toUpperCase()
); // "USER-42"
  • flowAsync for creating reusable async pipelines
  • pipe for synchronous pipelines

pipeAsync<A, B, C, D, E, F, G, H, I, J, K>(a, ab, bc, cd, de, ef, fg, gh, hi, ij, jk): Promise<K>

Defined in: Composition/pipeAsync.ts:85

Pipes a value through a sequence of operations, supporting asynchronous transitions at any step. Awaits promises at each step before passing the resolved value to the next function.

A

B

C

D

E

F

G

H

I

J

K

Awaitable<A>

(a) => Awaitable<B>

(b) => Awaitable<C>

(c) => Awaitable<D>

(d) => Awaitable<E>

(e) => Awaitable<F>

(f) => Awaitable<G>

(g) => Awaitable<H>

(h) => Awaitable<I>

(i) => Awaitable<J>

(j) => Awaitable<K>

Promise<K>

await pipeAsync(
  42,
  n => Promise.resolve(`user-${n}`),
  name => name.toUpperCase()
); // "USER-42"
  • flowAsync for creating reusable async pipelines
  • pipe for synchronous pipelines