pub unsafe fn ie_infer_request_wait(
    infer_request: *mut ie_infer_request_t,
    timeout: i64
) -> IEStatusCode
Expand description

@brief Waits for the result to become available. Blocks until specified timeout elapses or the result becomes available, whichever comes first. @ingroup InferRequest @param infer_request A pointer to ie_infer_request_t instance. @param timeout Maximum duration in milliseconds to block for @note There are special cases when timeout is equal some value of the WaitMode enum:

  • 0 - Immediately returns the inference status. It does not block or interrupt execution.
  • -1 - waits until inference result becomes available @return Status code of the operation: OK(0) for success.