Skip to content

purge_agent

Tushar Semwal edited this page Oct 15, 2017 · 1 revision

Syntax:

purge_agent(Agent_name).   % Terminates the agent and its associated predicates within the current platform.

Agent_name: <atom +>

Description:

This predicate is used to kill and retract all associated agent code from the current platform. The Agent_name is the name of the agent to be terminated. purge_agent /1 purges all the threads associated with the specified agent after which all agent-specific code is retracted.

Clone this wiki locally