You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 19, 2020. It is now read-only.
Repository navigation
This repository was archived by the owner on Jul 19, 2020. It is now read-only.
Describe the lifecycle methods of an Agent and the lifetime of each type of Agent (Job, Context, Private, Public)
/// Creates an instance of an agent.fncreate(link:AgentLink<Self>) -> Self;/// This method called on every update message.fnupdate(&mutself,msg:Self::Message);/// This method called on when a new bridge created.fnconnected(&mutself,_id:HandlerId){}/// This method called on every incoming message.fnhandle_input(&mutself,msg:Self::Input,id:HandlerId);/// This method called on when a new bridge destroyed.fndisconnected(&mutself,_id:HandlerId){}/// This method called when the agent is destroyed.fndestroy(&mutself){}
Activity
teymour-aldridge commentedon Apr 13, 2020
I'm not exactly sure where all the arrows should go, but would a diagram like this do the trick?
.
The diagram was made with nomnoml.com.
jstarry commentedon Apr 14, 2020
Thanks @teymour-aldridge this is a good start! It'd be great if this was added to the docs :)