Skip to content

Commit

Permalink
Merge pull request #82 from flaviogrossi/fix_documentation
Browse files Browse the repository at this point in the history
fix update_registry/3 documentation
  • Loading branch information
ostinelli authored Aug 23, 2024
2 parents 4b5fbc1 + 4f9d4a6 commit 54e6638
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/syn.erl
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ register(Scope, Name, Pid, Meta) ->
%% ```
%% iex> :syn.register(:devices, "SN-123-456789", self(), 10)
%% :ok
%% iex> :syn.update_registry(:devices, "area-1", fn _pid, existing_meta -> existing_meta * 2 end)
%% iex> :syn.update_registry(:devices, "SN-123-456789", fn _pid, existing_meta -> existing_meta * 2 end)
%% {:ok, {#PID<0.105.0>, 20}}
%% '''
%% <h3>Erlang</h3>
Expand Down

0 comments on commit 54e6638

Please sign in to comment.