Added more documentation. Added new refresh mechanism to lists.
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user