Process¶
Definition of the Process class.
This module defines a process, which is performed when an event is executed.
- class src.kernel.process.Process(owner: Any, activation_method: str, act_params: List[Any], act_kwargs={})¶
Class of process.
The process claims the object of process, the function of object, and the arguments for the function.
- owner¶
the object of process.
- Type:
Any
- activation_method¶
the function of object.
- Type:
str
- act_params¶
the arguments of object.
- Type:
List[Any]
- run() None ¶
Method to execute process.
Will run the activation_method method of owner with act_params passed as args.