module PlaceOS::Core::ProcessManager::Common
Overview
Methods for interacting with module processes common across a local and edge node
Direct including types
Defined in:
placeos-core/process_manager/common.crMacro Summary
Instance Method Summary
- #debug(module_id : String, &on_message : DebugCallback)
-
#driver_key_for?(module_id) : String | Nil
HACK: Retrieve the driver key from the module_id
- #driver_loaded?(driver_key : String) : Bool
- #driver_status(driver_key : String) : DriverStatus | Nil
- #execute(module_id : String, payload : String | IO, user_id : String | Nil)
- #ignore(module_id : String, &on_message : DebugCallback)
- #ignore(module_id : String) : Array(DebugCallback)
- #kill(driver_key : String) : Bool
-
#loaded_modules : Hash(String, Array(String))
Map reduce the querying of what modules are loaded on running drivers
- #module_loaded?(module_id : String) : Bool
-
#path_for?(module_id) : Path | Nil
HACK: Retrieve the driver path from the module_id
- #remove_driver_manager(key)
- #run_count : Count
- #start(module_id : String, payload : String)
- #stop(module_id : String)
- #system_status : SystemStatus
-
#unload(module_id : String)
Stop and unload the module from node
Macro Detail
Instance Method Detail
def loaded_modules : Hash(String, Array(String))
#
Map reduce the querying of what modules are loaded on running drivers