Skip to content

Commit

Permalink
[doc] startup events are executed for each threads
Browse files Browse the repository at this point in the history
  • Loading branch information
ringabout authored Mar 20, 2022
1 parent 93d2671 commit 1e70f91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/event.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Event

`Prologue` supports both `startup` and `shutdown` events. `startup` events will be only executed once before the main loop. In contrast, `shutdown` events will be executed once after the main loop.
`Prologue` supports both `startup` and `shutdown` events. `startup` events will be only executed once for each threads. In contrast, `shutdown` events will be executed once after the main loop.

Let's first look at the structure of `Event`, you can see that `Event` supports both synchronous and asynchronous closure function pointers.

Expand Down

0 comments on commit 1e70f91

Please sign in to comment.