Object.notify Method
Releases the hold on an object that has called the wait method on this object.
Syntax
public void notify()
Run On
Called
Examples
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();
}