Skip to content

Commit

Permalink
MetricsSink is a SAM interface
Browse files Browse the repository at this point in the history
should allow lambda implementations for convenience
  • Loading branch information
Kenny authored May 23, 2022
1 parent 4675adc commit f65f71b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ package goodmetrics.pipeline

import goodmetrics.Metrics

interface MetricsSink {
fun interface MetricsSink {
fun emit(metrics: Metrics)
}

0 comments on commit f65f71b

Please sign in to comment.