How to distinguish timeout reaching from Delay Abort in a blocking call?

Hello,
suppose we have a task blocked on a call, say xEventGroupWaitBits() and suppose we have set a finite timeout, say 1000.
Next, suppose we interrupt the wait for that task using the xTaskAbortDelay() function.
This should cause the xEventGroupWaitBits() function to exit immediately. Is it possible to distinguish whether we exited due to timeout or because we were interrupted by the xTaskAbortDelay() call? How?

bets regards
Max

Not easily. You could record the time before and after the API call to know if the timeout expired by the time the task executed again, although depending on its relative priority, it may not execute until some time after it unblocked.