# Question about the sequence to call epoch\_result function

**URL:** https://community.zeek.org/t/question-about-the-sequence-to-call-epoch-result-function/3423
**Category:** Zeek
**Created:** [January 9, 2015, 11:54pm UTC](https://community.zeek.org/t/question-about-the-sequence-to-call-epoch-result-function/3423 "2015-01-09T23:54:50Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Ren\_Wenyu](https://avatars.discourse-cdn.com/v4/letter/r/977dab/32.png) [@Ren\_Wenyu](https://community.zeek.org/u/Ren_Wenyu)
#### Post date: [January 9, 2015, 11:54pm UTC](https://community.zeek.org/t/question-about-the-sequence-to-call-epoch-result-function/3423/1 "2015-01-09T23:54:50Z")

</div>

Dear all,

In SumStats::SumStat, the epoch\_result function will be called for each key once for each epoch. But what is the sequence to call these functions? Is there a way to control which key's function is called first?

Another question is about the epoch\_finished function. Is this function called after all the epoch\_result are called for this interval or before?

Thanks a lot.

Wenyu

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/zeek/original/1X/f09d732bc2cc7c7cc7e35db67cf4e1d5233ce7a7.png) [@system](https://community.zeek.org/u/system)
#### Post date: [May 6, 2022, 3:42pm UTC](https://community.zeek.org/t/question-about-the-sequence-to-call-epoch-result-function/3423/2 "2022-05-06T15:42:20Z")

</div>


