endurox.tpcancel

endurox.tpcancel(cd: int = 0) None

Cancel asynchronous call. In case if call descriptor was not issued, error is not returned.

For more details see tpcancel(3) C API call.

Raises:

AtmiException

Following error codes may be present:
TPEBADDESC - cd is out of the range of valid values.
TPEINVAL - Enduro/X is not configured.
TPESYSTEM - System error.
TPEOS - Operating system error.

Parameters:

cd (int) – Call descriptor returned by tpacall()