stop method

  1. @override
Future<StudyDeploymentStatus?> stop(
  1. String studyDeploymentId
)
override

Stop the study deployment with studyDeploymentId.

Implementation

@override
Future<StudyDeploymentStatus?> stop(String studyDeploymentId) async {
  if (_repository[studyDeploymentId] == null) return null;

  StudyDeployment deployment = _repository[studyDeploymentId]!;
  deployment.stop();
  return deployment.status;
}