Forum Discussion
dfirka1970
Oct 29, 2020Copper Contributor
Singleton in Functions
Quick question, is there any best practice to maintain an object with static information so that i dont have to repopulate on each fn call?
Sorry maybe this is explained in the docs, just point me to where to look.
Thanks
2 Replies
Sort By
- AnthonyChu
Microsoft
Yes you can do this. What language are you using?- dfirka1970Copper Contributor
AnthonyChu , using c# over AzFun on windows host.
(in our webapi solution we have a singleton object which mantains some configuration information and data related to tenants, nothing stateful but save us some time during execution)
thxs