What is Isolated<T> used for? #168
iwt-sebastian-boldt
started this conversation in
General
Replies: 1 comment
-
Hi @iwt-sebastian-boldt! This type is similar to our We can then use We're looking into incorporating this type into our library ecosystem in the future, but wanted to give it some use in isowords first 😄 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey Guys 😉 ,
I stumbled across something I can not fully grasp.
Inside the
APIClient
Dependency e.g you create an actor to synchronize access to a shared resource.This actor has some non-isolated properties -> I assume because access to these properties does not need to be isolated because they are declared as
let
anyways.But then you wrap the Type related to this
nonIsolated
property into something calledIsolated
.Is there any explanation for this somewhere? I would really appreciate any info about it 🙇
Beta Was this translation helpful? Give feedback.
All reactions