Looking to assign inout array parameter to local var but getting error
Escaping closures can only capture inout parameters explicitly by value
Following is the code
func setData( feedsData: inout [FeedStruct]) {
DispatchQueue.main.async {
self.arrData = feedsData // here is the error
....