Runnable¶

class amplpy.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 evalAsync(), readAsync(), readDataAsync(), solveAsync().

run()

Function called when the execution of the async operation is finished.

__module__ = 'amplpy.runnable'
__weakref__

list of weak references to the object (if defined)