checkIfCancelled

open fun checkIfCancelled(token: CancelToken?)

Check if token has been marked for cancellation. If it has, throw {@link com.sap.cloud.mobile.kotlin.odata.RequestCancelledException}.

Parameters

token

(nullable) Cancellation token.