Runnable¶
-
class
Runnable
¶ Represent an object with only one function, which is called as a callback after an async execution has finished.
Inherit from this class and use an instance in AMPL::evalAsync(), AMPL::readAsync(), AMPL::readDataAsync(), AMPL::solveAsync().