feat: added the functionality for the play, pause, next phase, reset phase, reset experiment buttons
ref: N25B-400
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user