Skip to content

Commit

Permalink
ignore done on start_of_input
Browse files Browse the repository at this point in the history
  • Loading branch information
edolix committed Dec 27, 2022
1 parent bbd0558 commit d2239ae
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,14 +99,15 @@ export const voiceCallCollectWorker: SDKWorker<Call> = function* (
*/
yield sagaEffects.put(pubSubChannel, {
type: typeToEmit,
// @ts-ignore
payload: {
tag: controlId,
...action.payload,
},
})

done()
if (action.payload.result.type !== 'start_of_input') {
done()
}
}
}
}
Expand Down

0 comments on commit d2239ae

Please sign in to comment.