diff options
Diffstat (limited to 'src/cowboy_metrics_h.erl')
-rw-r--r-- | src/cowboy_metrics_h.erl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cowboy_metrics_h.erl b/src/cowboy_metrics_h.erl index 559952b..3a2a8f0 100644 --- a/src/cowboy_metrics_h.erl +++ b/src/cowboy_metrics_h.erl @@ -106,6 +106,9 @@ }. -export_type([metrics/0]). +-type metrics_callback() :: fun((metrics()) -> any()). +-export_type([metrics_callback/0]). + -record(state, { next :: any(), callback :: fun((metrics()) -> any()), |