Service Layer low complexity mobile
0
Dependencies
1
Dependents
0
Entities
0
Integrations

Description

Lightweight service that maintains real-time state of an in-progress bulk submission. Tracks total participants, processed count, and per-record failure reasons. Provides observable state for the progress indicator in the bulk registration screen.

Feature: Bulk Registration

batch-progress-tracker

Responsibilities

  • Track submitted, succeeded, and failed record counts during batch execution
  • Expose progress stream consumed by the bulk registration screen
  • Accumulate per-record failure messages for the post-submission summary

Interfaces

startTracking(String batchReferenceId, int totalCount) -> void
recordSuccess(String participantId) -> void
recordFailure(String participantId, String reason) -> void
progressStream -> Stream<BatchProgressState>
finalResult -> BatchResult

Relationships

Dependents (1)

Components that depend on this component