feat: added the functionality for the play, pause, next phase, reset phase, reset experiment buttons

ref: N25B-400
This commit is contained in:
Björn Otgaar
2026-01-07 18:31:56 +01:00
parent c9df87929b
commit a1e242e391
5 changed files with 61 additions and 7 deletions

View File

@@ -50,3 +50,15 @@ export async function resetExperiment(): Promise<void> {
const context = ""
sendAPICall(type, context)
}
export async function pauseExperiment(): Promise<void> {
const type = "pause"
const context = "true"
sendAPICall(type, context)
}
export async function playExperiment(): Promise<void> {
const type = "pause"
const context = "false"
sendAPICall(type, context)
}