next up previous contents
Next: Property: waitfor Up: Message Properties Previous: Property: priority   Contents

Property: delay

The delay property is used to send a message with a given delay. It takes as arguments the delay duration in milliseconds. For instance, the following message addUser will be sent to the actor, book, after a delay of 1s.
 
book<-addUser(args[1], args[2]):delay(new Integer(1000)); 
 
   


Wei-Jen Wang 2005-10-24