Object.notify Method [AX 2012]
Releases the hold on an object that has called the wait method on this object.
The following example locks an object, and then releases it.
public void doWork()
{
// Perform some actions.
this.setTimeOut(identifierstr(workerFunction), 0);
this.wait(); // Lock and wait for notify to be called.
}
public void workerFunction()
{
// Perform some actions.
// Work is done; unlock the doWork method.
this.notify();
}
Community Additions
ADD
Show: