Enumeration InfiniteObjectDispatcherInterfaceSignal

The InfiniteObjectDispatcherInterfaceSignal lists all the signals that may be sent by any InfiniteObjectDispatcherInterface.

These signals are emitted by any derived interface of InfiniteObjectDispatcherInterface when the following occurs :

/** 
* Sample to illustrate getting the loading state (updating, ok, out of budget) of the InfiniteEngineInterface.
*/
import { InfiniteEngineInterface, InfiniteEvent, InfiniteObjectDispatcherInterfaceSignal } from 'generated/documentation/appinfiniteapi';

// created previously
let lInfiniteEngine : InfiniteEngineInterface;

// what to do when this object is disposed ?
const objectIsDisposed = (_pEvent : InfiniteEvent) : void =>
{
// perhaps some cleanup code and some gui code ?
// detachNode, change dom visibility, etc ...
// there is no need to detach event listeners, event listeners have already been detached (and the current
// event listener will be unbound just after).
console.log('The InfiniteEngineInterface has been cleaned');
}

// bind the event
lInfiniteEngine.addEventListener(InfiniteObjectDispatcherInterfaceSignal.ObjectDisposed, objectIsDisposed);

Please refer to [InfiniteObjectDispatcherInterface](../interfaces/InfiniteObjectDispatcherInterface.html) for more information.
Events

See

InfiniteObjectDispatcherInterface

Enumeration Members

Enumeration Members

ObjectDisposed: "disposed"

Signal sent by the InfiniteObjectDispatcherInterface at the end of a dispose call.

No attachment for events of this type.