Added more documentation. Added new refresh mechanism to lists.

This commit is contained in:
2022-05-23 09:12:23 -07:00
parent 6cc18174f1
commit b805dc4bca
2 changed files with 87 additions and 8 deletions

View File

@ -456,7 +456,12 @@ class IgniteObject {
* @ignore
*/
class IgniteCallback {
constructor(callback, detach) {
/**
* Creates a new IgniteCallback with a callback and optional detach callback.
* @param {Function(...)} callback The callback function to invoke when the callback is invoked.
* @param {Function(IgniteCallback)} detach The detach function that is called when the callback is disconnected.
*/
constructor(callback, detach = null) {
this.callback = callback;
this.detach = detach;
}