realar-project / realar

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

low: proposal pool single and pool static chaining factory #85

Closed betula closed 3 years ago

betula commented 3 years ago

pool.single(async () => {

})

// or

pool(async () => {

}).single()

// Will be same result
betula commented 3 years ago

pool.debounce(300).single().flow(async () => {});
// ok
betula commented 3 years ago

Added to "the stream of conciseness 0.7+ roadmap"