# Whitch function will called faster bound with delegate or set in SetTimer().

**URL:** <https://forums.unrealengine.com/t/whitch-function-will-called-faster-bound-with-delegate-or-set-in-settimer/1837257>\
**Category:** C++\
**Tags:** unreal-engine, delegates, functions, CPP, question, set-timer\
**Created:** [May 2, 2024, 11:42pm UTC](https://forums.unrealengine.com/t/whitch-function-will-called-faster-bound-with-delegate-or-set-in-settimer/1837257 "2024-05-02T23:42:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ebrebzzeeere](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ebrebzzeeere](https://forums.unrealengine.com/u/ebrebzzeeere)\
**Post date:** [May 2, 2024, 11:42pm UTC](https://forums.unrealengine.com/t/whitch-function-will-called-faster-bound-with-delegate-or-set-in-settimer/1837257/1 "2024-05-02T23:42:53Z")

</div>

Hi I’m new to UE.  
Suppose I have a function1 set in SetTimer().  
On the other hand, I have a function2 bound with delegate which execute ClearTimer().

Here I have a question.  
What time function1 called finally?  
I don’t know when is function set in SetTimer() called in the tick.  
Then calling ClearTimer() can cancel function1 call in the same tick or the cancellation held in next tick?  
I mean once delegatge fires maybe function2 called next tick I guess.  
Then function2 executed, function1 never called from next tick but called in this tick?  
And I never want to call function1 after function2 called.  
Should I check if function2 called in function1?

Thanks in advance.
