You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately, this is the consequence of implicit generation of two functions. Thedefcall expression in your example will lead to the following functions being generated:
This is one of the reasons why I personally don't use ExActor anymore, nor recommend using it. My advice is to stick to plain GenServer. It might mean a bit more typing, but at least it's explicit, with no magic in between, and you're in complete control of the code.
I have some function headers like so:
defcall set_open_device(%{"path" => path, "baud" => speed}), state: state do
"path" and "speed" are used in the function, but I see the following compiler warnings:
The text was updated successfully, but these errors were encountered: