[dove] around hook #2922
Replies: 2 comments 2 replies
-
|
Beta Was this translation helpful? Give feedback.
-
Please cmiiw, to my understanding, if an outlet page has
then a user request will execute Is that right? So if we want to run something before 1 and after 3, where can we do that? (It's like wrapping a user request, that's why I said "setup & teardown"-like 😅) |
Beta Was this translation helpful? Give feedback.
-
No issue here, just need a clear understanding.
I thought
around hook
was first & last executed hook; turns out it wraps every before-after-error hook or service, so it will be executed more than once.If I need an app-level
"setup & teardown"
that only run once upon user request (via socket) -- where is the proper place to put it, can it be inside a hook?Thanks
Beta Was this translation helpful? Give feedback.
All reactions