realar-project / realar

5 kB Advanced state manager for React
MIT License
44 stars 0 forks source link

low: proposal pool syntax #83

Closed betula closed 3 years ago

betula commented 3 years ago

const a = pool(async () => {});

a.single()
a.debounce(300)
a.throttle()

// or

a.pipe.single()
a.pipe.debounce(300)

a.pipe( ... ) // what is It?

and for values and signals


const a = value(0);

a.pool.debounce(100) // what is it?
betula commented 3 years ago

Added to "the stream of conciseness 0.7+ roadmap"