问题
In the WWDC beta, I see an error when using the debounce
function from Combine, like this
debounce(for: 0.5, scheduler: RunLoop.main)
Error is cannot invoke 'debounce' with an argument list of type '(for: Double, scheduler: RunLoop)_
I guess the build is not as recent as the Combine presentations themselves, which do use this construction.
Has anyone got a workaround?
来源:https://stackoverflow.com/questions/56564967/fixing-combine-error-cannot-invoke-debounce-with-an-argument-list-of-type-f