LearnNewsExamplesServices
Frontmatter
id3818
titleWe need a way to make a buffered function call.
stateClosed
labels
enhancementstale
assignees[]
createdAtJan 6, 2023, 11:23 PM
updatedAtSep 14, 2024, 4:26 AM
githubUrlhttps://github.com/neomjs/neo/issues/3818
authormaxrahder
commentsCount4
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtSep 14, 2024, 4:26 AM

We need a way to make a buffered function call.

Closed v8.1.0 enhancementstale
maxrahder
maxrahder commented on Jan 6, 2023, 11:23 PM

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

maxrahder added the enhancement label on Jan 6, 2023, 11:23 PM
maxrahder
maxrahder Jan 6, 2023, 11:24 PM

Having a way to specify this in a listeners config would also be very very handy.

maxrahder
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 stale label

@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