EC Timeout if it doesn't respond after 30 seconds (#4237)

* basic implementation

* using a decodable struct to interpret the widget message

* small code refactor/improvement
This commit is contained in:
Mauro
2025-06-20 18:21:31 +02:00
committed by GitHub
parent cbf405a67e
commit 0c8a401b4d
5 changed files with 48 additions and 1 deletions
@@ -36,6 +36,7 @@ protocol ElementCallWidgetDriverProtocol {
analyticsConfiguration: ElementCallAnalyticsConfiguration?) async -> Result<URL, ElementCallWidgetDriverError>
/// Passes a message from the Widget to the SDK to handle, returning a Bool that represents whether or not the widget driver is still running.
@discardableResult
func handleMessage(_ message: String) async -> Result<Bool, ElementCallWidgetDriverError>
}