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 fc93a70 commit 29d48bcCopy full SHA for 29d48bc
Sources/InterposeKit/InterposeKit.swift
@@ -230,7 +230,7 @@ extension Interpose {
230
/// Interpose a class once available. Class is passed via `className` string.
231
@discardableResult public class func whenAvailable(_ className: String,
232
builder: @escaping (Interpose) throws -> Void) throws -> Waiter {
233
- try Waiter(className: className, builder: builder, completion: nil)
+ try whenAvailable(className, builder: builder, completion: nil)
234
}
235
236
/// Interpose a class once available. Class is passed via `className` string, with completion handler.
0 commit comments