func stopGeneration(completion: @escaping (Result<Void, any Error>) -> Void) { completion(.failure(PigeonError( code: "stop_not_supported", message: "Stop generation is not supported on iOS platform yet", details: nil ))) } why??
func stopGeneration(completion: @escaping (Result<Void, any Error>) -> Void) {
completion(.failure(PigeonError(
code: "stop_not_supported",
message: "Stop generation is not supported on iOS platform yet",
details: nil
)))
}
why??