tonyarnold,
@tonyarnold@mastodon.social avatar

Swift Concurrency question: I have a network client (class) that is wrapped by an actor (ModelActor for SwiftData) at a higher level, however using the network client as a property of the actor results in Sendable warnings whenever I try to call any of it's methods.

What do I do here? Make the class an actor?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • khanakhh
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • osvaldo12
  • ethstaker
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • everett
  • ngwrru68w68
  • kavyap
  • InstantRegret
  • megavids
  • GTA5RPClips
  • Durango
  • normalnudes
  • cubers
  • tacticalgear
  • cisconetworking
  • tester
  • modclub
  • provamag3
  • anitta
  • Leos
  • JUstTest
  • lostlight
  • All magazines