RaftFleet.Cluster.State.update

You're seeing just the function update, go back to RaftFleet.Cluster.State module for more information.

Specs

update(t(), Dict.t()) :: Croma.Result.t(t())

Updates an existing instance of RaftFleet.Cluster.State with the given dict. The values in the dict are validated by each field's valid?/1 function. Returns {:ok, valid_struct} or {:error, reason}.