-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Fix: Make sendState call aysnc * Promisifying function call * Minor formatting tidy * Using Adapt.wait approach * Reverting to promise approach * Fix: Apply debounce around sendState calls to avoid concurrency issues * Reverting earlier Promise approach * Reverting earlier Promise approach * Moving debounce to server update part of sendState only * Splitting sendState so sendStateToServer can be debounced * Avoiding potential debounce issues from passed arguments * Object approach to avoid duplicate array items * Update js/XAPI.js Co-authored-by: Oliver Foster <[email protected]> --------- Co-authored-by: Oliver Foster <[email protected]>
- Loading branch information
1 parent
267ecbb
commit 0fe6ba0
Showing
1 changed file
with
38 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters