toggle(withExpectedValues:expectedValueInterval:completion:)

Declaration

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