You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm talking about the registerCancellationObserverWithBlock method of the BFCancellationToken class.
According to the header file:If the token is already cancelled the delegate will be notified immediately. Which (I guess) means the block will be invoked immediately if the token isCancellationRequested.
But I can not reproduce the behavior via the below code:
Through a quick code review, I found nothing related to the behavior neither. I wonder if it's my own problem, a documentation issue, or a possible bug?
Thanks.
The text was updated successfully, but these errors were encountered:
I'm talking about the
registerCancellationObserverWithBlock
method of theBFCancellationToken
class.According to the header file: If the token is already cancelled the delegate will be notified immediately. Which (I guess) means the block will be invoked immediately if the token
isCancellationRequested
.But I can not reproduce the behavior via the below code:
Through a quick code review, I found nothing related to the behavior neither. I wonder if it's my own problem, a documentation issue, or a possible bug?
Thanks.
The text was updated successfully, but these errors were encountered: