matlab.production_server.client.Future
R2026bNamespace: matlab.production_server
An asynchronous request from the Python client to MATLAB Production Server
Description
The Future class represents an asynchronous request and provides
methods to monitor and retrieve results.
Construction
Create a Future by using the matlab.production_server.client.MWHttpAsyncClient to call a function deployed
to MATLAB®
Production Server™.
Methods
Public Methods
fetch_outputs |
result = future.fetch_outputs() Returns: Tuple of MATLAB function outputs |
wait |
Input Arguments
state = future.wait(state="ready", timeout=60, interval=0.5) Returns: Final
|
cancel |
success = future.cancel() Returns:
|
is_terminal |
done = future.is_terminal() Returns:
|