Skip to content

Commit

Permalink
Delete runloop
Browse files Browse the repository at this point in the history
  • Loading branch information
yusufozgul committed Apr 16, 2021
1 parent f03cccd commit 8d1675b
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ extension NetworkProtocol {
return urlSession.dataTaskPublisher(for: urlRequest)
.mapError(Error.networking)
.map(\.data)
.receive(on: RunLoop.main)
.decode(type: modelType, decoder: decoder)
.mapError(Error.decoding)
.eraseToAnyPublisher()
Expand Down

0 comments on commit 8d1675b

Please sign in to comment.