View Source mqtt_sessions_retain (mqtt_sessions v2.2.1)
Link to this section Summary
Link to this section Functions
-spec cleanup(atom()) -> ok.
-spec init([atom()]) -> {ok, #state{}}.
-spec lookup(atom(), [binary()]) -> {ok, [{mqtt_packet_map:mqtt_packet(), term()}]}.
-spec retain(atom(), mqtt_packet_map:mqtt_packet(), term()) -> ok.
-spec start_link(atom()) -> {ok, pid()} | {error, term()}.