1.0.0 • Published 5 years ago
array-trickle v1.0.0
trickle
You: My array is too big! I want to unveil it a bit at a time.
Me: At what rate?
You: 50 rows / 1000 ms.
Me:
import trickle from 'array-trickle'
trickle({
rows: 50,
ms: 1000,
onData: newRows => console.log(newRows),
})
1.0.0
5 years ago