View Source Glific.State (Glific v5.1.6)
Manage simulator and flows, managing state and allocation to ensure we can have multiple simulators and flow run at the same time
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Free the entity after holding an entity period is over
initializes the state for this organization if not already present
Release the entity associated with this user id. It is possible that there is no entity associated with this user
Link to this section Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
Free the entity after holding an entity period is over
@spec get_state(map(), non_neg_integer()) :: map()
initializes the state for this organization if not already present
Release the entity associated with this user id. It is possible that there is no entity associated with this user