Runlet.Rate protocol (runlet v1.2.7)

View Source

Summary

Types

t()

All the types that implement this protocol.

Types

t()

@type t() :: term()

All the types that implement this protocol.

Functions

rate(event, state)

@spec rate(map() | struct(), %{count: integer()}) :: %{count: integer()}