We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d888124 commit 9fa521fCopy full SHA for 9fa521f
AmplifyPlugins/Predictions/AWSPredictionsPlugin/Liveness/Service/FaceLivenessSession.swift
@@ -84,7 +84,7 @@ public final class FaceLivenessSession: LivenessService {
84
_ event: LivenessEvent<T>,
85
eventDate: @escaping () -> Date = Date.init
86
) {
87
- livenessServiceDispatchQueue.async {
+ livenessServiceDispatchQueue.sync {
88
let encodedPayload = self.eventStreamEncoder.encode(
89
payload: event.payload,
90
headers: [
0 commit comments