getStudyDeploymentStatus method
Get the status for a study deployment with the given studyDeploymentId
.
Implementation
@override
Future<StudyDeploymentStatus> getStudyDeploymentStatus(
String studyDeploymentId,
) async {
StudyDeploymentStatus? status;
if (isConfigured()) {
status = await CarpDeploymentService()
.getStudyDeploymentStatus(studyDeploymentId);
_eventController.add(CarpBackendEvents.DeploymentStatusRetrieved);
}
if (status != null)
return status;
else
throw CarpBackendException(
'Could not get deployment status in $runtimeType');
}