Skip to content

Commit

Permalink
Hide telemetry_test:handle_event/4 in the docs (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
whatyouhide authored Mar 30, 2023
1 parent 80c7eb7 commit ee42236
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/telemetry_test.erl
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,6 @@ attach_event_handlers(DestPID, Events) when is_pid(DestPID) and is_list(Events)
telemetry:attach_many(Ref, Events, fun telemetry_test:handle_event/4, Config),
Ref.

%% @hidden
handle_event(Event, Measurements, Metadata, #{dest_pid := DestPID, ref := Ref}) ->
DestPID ! {Event, Ref, Measurements, Metadata}.

0 comments on commit ee42236

Please sign in to comment.