waitForMethods

waitForMethods(methodContextList: ParamListType): JadeMethodContext;

The waitForMethods method of the Process class suspends the process until one of the method contexts specified by the methodContextList parameter completes or times out. The waitForMethods method returns a reference to the method context that completes or times out. If all method contexts have completed or timed out, the waitForMethods method returns a null value.

The methodContextList parameter value consists of one or more references to instances of the JadeMethodContext or ObjectArray class. An ObjectArray instance must contain JadeMethodContext references only. The combined context list must not have more than 64 active entries.

For more details, see Chapter 16, "Using Asynchronous Method Calls", in the JADE Developer’s Reference.