View Source mqtt_sessions_will (mqtt_sessions v2.6.0)
Summary
Functions
Signal the will process that the session got disconnected from the client.
Set a new user context, needed after reauthentication
Sync request to stop the will process
Functions
-spec connected(pid(), map() | undefined, non_neg_integer(), term()) -> ok.
-spec disconnected(pid()) -> ok.
-spec disconnected(pid() | undefined, boolean(), non_neg_integer()) -> ok.
-spec reconnected(pid()) -> ok.
-spec stop(pid() | undefined) -> ok.