toggle(completionHandler:)

Declaration

func toggle(completionHandler: @escaping  @Sendable ((any Error)?) -> Void)
func toggle() async throws