replicate / replicate-swift

Swift client for Replicate
https://replicate.com
Apache License 2.0
165 stars 35 forks source link

Expose static `Prediction.wait(for:with:priority:retrier:)` method #38

Closed mattt closed 1 year ago

mattt commented 1 year ago

Related to #37

This PR exposes the currently private static Prediction.wait(for:with:priority:retrier:) method. Having a non-mutating method like this can be helpful for working around actor isolation issues in SwiftUI.