View Source mqtt_sessions_will (mqtt_sessions v2.3.0)
Link to this section 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
Link to this section 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 set_user_context(pid(), term()) -> ok.
-spec start_link(atom(), pid()) -> {ok, pid()}.
-spec stop(pid() | undefined) -> ok.