@MainActor annotated dependencies, produce uncompilable code
To support all actor annotations, I think the solution here is to make the getters for those dependencies async,
to support just @MainActor, we could just require that dependency access happen on the main thread by Component, Dependency, and generated code with @MainActor
@MainActorannotated dependencies, produce uncompilable codeTo support all actor annotations, I think the solution here is to make the getters for those dependencies
async,to support just
@MainActor, we could just require that dependency access happen on the main thread by Component, Dependency, and generated code with@MainActor