toggle(withExpectedValues:expectedValueInterval:completionHandler:)

Declaration

func toggle(withExpectedValues expectedValues: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?, completionHandler: @escaping  @Sendable ((any Error)?) -> Void)
func toggle(withExpectedValues expectedValues: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws