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...
AnthonyChu
Microsoft
Oct 30, 2020Yes you can do this. What language are you using?
- dfirka1970Oct 30, 2020Copper 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