This is an automated email from the ASF dual-hosted git repository.
harbs pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/develop by this push:
new ea5e72e Made asdocs a bit clearer
ea5e72e is described below
commit ea5e72e32fd918d644e279eadf497b7aece78e94
Author: Harbs <[email protected]>
AuthorDate: Tue Jan 4 17:25:41 2022 +0200
Made asdocs a bit clearer
---
.../main/royale/org/apache/royale/utils/functional/debounceLong.as | 4 ++--
.../main/royale/org/apache/royale/utils/functional/debounceShort.as | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git
a/frameworks/projects/Core/src/main/royale/org/apache/royale/utils/functional/debounceLong.as
b/frameworks/projects/Core/src/main/royale/org/apache/royale/utils/functional/debounceLong.as
index 46d2a7e..31f4c04 100644
---
a/frameworks/projects/Core/src/main/royale/org/apache/royale/utils/functional/debounceLong.as
+++
b/frameworks/projects/Core/src/main/royale/org/apache/royale/utils/functional/debounceLong.as
@@ -24,8 +24,8 @@ package org.apache.royale.utils.functional
}
/**
* Returns a debounced function to run after a delay.
- * If the function is invoked within the delay period,
- * the delay will be reset to start from the latest invocation of the
function.
+ * If the function is invoked again within the delay period, the latest
+ * invocation of the function will be used and the delay will be reset
to then.
*
* @royalesuppressexport
* @langversion 3.0
diff --git
a/frameworks/projects/Core/src/main/royale/org/apache/royale/utils/functional/debounceShort.as
b/frameworks/projects/Core/src/main/royale/org/apache/royale/utils/functional/debounceShort.as
index 113b35b..26c132a 100644
---
a/frameworks/projects/Core/src/main/royale/org/apache/royale/utils/functional/debounceShort.as
+++
b/frameworks/projects/Core/src/main/royale/org/apache/royale/utils/functional/debounceShort.as
@@ -24,8 +24,8 @@ package org.apache.royale.utils.functional
}
/**
* Returns a debounced function to run after a delay.
- * If the function is invoked within the delay period,
- * the delay will be from the first invocation of the function.
+ * The first invocation of the function will be run after its delay.
+ * Any invocations between the first invocation and the delay will be
ignored.
*
* @royalesuppressexport
* @langversion 3.0