get_multi_result_with_unique_id()
Function Usage
Supports single-thread or multi-thread. uniqueId is used to ensure that the result can be correctly obtained in multi-thread scenarios. This function is used together with send_multi_data_with_unique_id() and supports single-output and multi-output.
Input Parameter Description
Parameter |
Type |
Description |
|---|---|---|
uniqueId |
int |
Unique identifier, which is a variable during declaration sending. |
timeOutMs |
int |
Maximum waiting time, in milliseconds. The default value is 3000 ms (3s). |
Return Parameter Description
Return Value |
Type |
Description |
|---|---|---|
Output |
List[MxDataOutput] |
Inference result. The number of lists corresponds to the number of output plugins. |
Parent topic: SequentialStream