all of a sudden the following stopped compiling:
actor Delegate
{
private
let stream:AsyncStream<Signal>
init()
{
self.stream = .init(bufferingPolicy: .unbounded)
{
...
}
}
}
error: cannot use property 'stream' with a non-sendable type 'AsyncStream<Signal>' across actors
self.stream = .init(bufferingPolicy: .unbounded)
i’m at my wits end here with the latest toolchain update. why on earth is this not compiling?
(i suppose i brought this on myself… surely there is a middle ground to be found…)