Closed flaviogrossi closed 5 years ago
This fixes dialyzer warnings when used from horde or other projects, since the timeout() type also include the :infinity case.
timeout()
:infinity
Without this you would get dialyzer errors like
lib/horde/supervisor_impl.ex:122:call The call: DeltaCrdt.mutate(atom(), :remove, [any(), ...], :infinity) breaks the contract ( crdt :: GenServer.server(), function :: atom(), arguments :: [any()], timeout :: pos_integer() ) :: :ok
Thanks!!
This fixes dialyzer warnings when used from horde or other projects, since the
timeout()
type also include the:infinity
case.Without this you would get dialyzer errors like