[Solved] I have a receive block in erlang.If there is a timeout in my gen-server it returns ok but not the actual value.How to return actual value

[ad_1]

I have a receive block in erlang.If there is a timeout in my gen-server it returns ok but not the actual value.How to return actual value

[ad_2]

solved I have a receive block in erlang.If there is a timeout in my gen-server it returns ok but not the actual value.How to return actual value