◆ handlePipelineRegistration()
| CloudEngine::handlePipelineRegistration | ( | pipeline, | |
| flowElement | |||
| ) |
Handles the registration of the Cloud Engine in a pipeline.
This method is called when a pipeline is registered, and it ensures that the CloudRequestEngine is present in the pipeline.
- Parameters
-
- {Pipeline} - pipeline - The pipeline being registered.
- {FlowElement} - flowElement - The flow element associated with the Cloud Engine.
@type {CloudRequestEngine}
◆ processInternal()
CloudEngine::processInternal ( flowData ) inlineInternal process method for all cloud engines.
- Parameters
-
- {FlowData} - flowData FlowData to process
- Returns
- {Promise<void> | void} Completion promise
◆ ready()
CloudEngine::ready ( ) inlineChecks if the Cloud Engine is ready.
This method returns a Promise that resolves if the CloudRequestEngine is ready, indicating that properties and evidence keys have been successfully fetched.
- Returns
- {Promise} A Promise that resolves if the CloudRequestEngine is ready and rejects if there is an error.
◆ updateEngineWhenCloudRequestEngineReady()
CloudEngine::updateEngineWhenCloudRequestEngineReady ( resolve, reject ) inlineUpdates the Cloud Engine when the CloudRequestEngine is ready.
This method fetches properties and evidence keys from the CloudRequestEngine, updating the Cloud Engine accordingly.
- Parameters
-
- {Function} - resolve - Callback to be called on successful completion.
- {Function} - reject - Callback to be called if there is an error.
