Skip to content

Commit 9d7ca5c

Browse files
committed
Removed deprecated symbol
1 parent db641ea commit 9d7ca5c

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

Sources/RuleKit/Center.swift

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -132,13 +132,4 @@ extension RuleKit {
132132
let rule = options.isEmpty ? rule : RuleWithOptions(options: options, trigger: trigger, rule: rule)
133133
RuleKit.internal.rules.append((rule, trigger))
134134
}
135-
136-
/// - Parameter name: A unique name that will be used as an identifier for registering already triggered rules.
137-
/// - Parameter callback: A closure callback to trigger when the rules are fulfilled.
138-
/// - Parameter options: Some facultative options to attach to the rule set
139-
/// - Parameter rule: The ruleset that need to be fulfilled to trigger the closure
140-
@available(*, deprecated, message: "Use setRule(_:, callback:, options:, rule:) instead")
141-
public static func setRule(triggering callback: @escaping @Sendable () -> Void, name: String, options: [any RuleKitOption] = [], _ rule: Rule) {
142-
setRule(name, triggering: callback, options: options, rule)
143-
}
144135
}

0 commit comments

Comments
 (0)