Opens a LONK WebSocket, fires retrieves for the tasks, and blocks until every task reaches a terminal state. Mutates each task's status, actualFiles, and lonkConfirmed; reports progress through the events.
Tasks to subscribe, fire, and watch.
Resolved PACS server identifier.
Authenticated ChRIS API client (for the LONK token).
Progress callbacks.
Phase tag passed through to task events.
Number of tasks whose retrieve could not be fired.
Opens a LONK WebSocket, fires retrieves for the tasks, and blocks until every task reaches a terminal state. Mutates each task's status, actualFiles, and lonkConfirmed; reports progress through the events.