A general question about Julia web frameworks like Oxygen.jl: Is there an easy way to pass a state variable as an argument to handler functions, or is relying on global variables the only option?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Genie.jl, global session variables | 3 | 1309 | November 3, 2023 | |
Setting variable used by multiple functions in a module | 6 | 769 | January 21, 2020 | |
[ANN] Oxygen.jl 1.5.x Recap (v1.5.0 - v1.5.8) | 0 | 648 | May 12, 2024 | |
How to get system state during event handling? | 1 | 454 | March 16, 2022 | |
In Julia, how to create a function that saves its own internal state? | 10 | 2757 | April 7, 2021 |