Frontmatter
| id | 3818 |
| title | We need a way to make a buffered function call. |
| state | Closed |
| labels | enhancementstale |
| assignees | [] |
| createdAt | Jan 6, 2023, 11:23 PM |
| updatedAt | Sep 14, 2024, 4:26 AM |
| githubUrl | https://github.com/neomjs/neo/issues/3818 |
| author | maxrahder |
| commentsCount | 4 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Sep 14, 2024, 4:26 AM |
We need a way to make a buffered function call.

maxrahder
Jan 6, 2023, 11:24 PM
Having a way to specify this in a listeners config would also be very very handy.

maxrahder
Jan 6, 2023, 11:40 PM
A bind config option would be nice too.
@github-actions - 2024-08-30T02:27:14Z
This issue is stale because it has been open for 90 days with no activity.
- 2024-08-30T02:27:14Z @github-actions added the
stalelabel
@github-actions - 2024-09-14T02:26:13Z
This issue was closed because it has been inactive for 14 days since being marked as stale.
- 2024-09-14T02:26:14Z @github-actions closed this issue
We need a Neo.Function.createBuffered() or Neo.Function.debounce() https://css-tricks.com/debouncing-throttling-explained-examples/
Here's the lodash source. It's MIT, and if MIT is good for Neo I'd just copy their implementation, or make it easy to simply integrate lodash into the app worker.
https://github.com/lodash/lodash/blob/4.17.15/lodash.js#L10304