Skip to content

@continuum-js/frp


@continuum-js/frp / combine

Function: combine() ​

Call Signature ​

combine<A, B, R>(a, b, f): State<R>

Defined in: index.ts:1535

Combine states pointwise — the join of the graph. Data first, the combiner last; simultaneous updates coalesce into ONE recompute per moment (glitch-free, see FRP-MODEL §3).

Type Parameters ​

A ​

A

B ​

B

R ​

R

Parameters ​

a ​

State<A>

b ​

State<B>

f ​

(a, b) => R

Returns ​

State<R>

Call Signature ​

combine<A, B, C, R>(a, b, c, f): State<R>

Defined in: index.ts:1540

Combine states pointwise — the join of the graph. Data first, the combiner last; simultaneous updates coalesce into ONE recompute per moment (glitch-free, see FRP-MODEL §3).

Type Parameters ​

A ​

A

B ​

B

C ​

C

R ​

R

Parameters ​

a ​

State<A>

b ​

State<B>

c ​

State<C>

f ​

(a, b, c) => R

Returns ​

State<R>

Call Signature ​

combine<A, B, C, D, R>(a, b, c, d, f): State<R>

Defined in: index.ts:1546

Combine states pointwise — the join of the graph. Data first, the combiner last; simultaneous updates coalesce into ONE recompute per moment (glitch-free, see FRP-MODEL §3).

Type Parameters ​

A ​

A

B ​

B

C ​

C

D ​

D

R ​

R

Parameters ​

a ​

State<A>

b ​

State<B>

c ​

State<C>

d ​

State<D>

f ​

(a, b, c, d) => R

Returns ​

State<R>

Call Signature ​

combine<A, B, C, D, E, R>(a, b, c, d, e, f): State<R>

Defined in: index.ts:1553

Combine states pointwise — the join of the graph. Data first, the combiner last; simultaneous updates coalesce into ONE recompute per moment (glitch-free, see FRP-MODEL §3).

Type Parameters ​

A ​

A

B ​

B

C ​

C

D ​

D

E ​

E

R ​

R

Parameters ​

a ​

State<A>

b ​

State<B>

c ​

State<C>

d ​

State<D>

e ​

State<E>

f ​

(a, b, c, d, e) => R

Returns ​

State<R>