Never mind. What I wrote is false, I was tripped up the lazyiness of static variables. In fact, if you just write
let stream1 = AsyncStream<Int> { continuation in
Self.cc = continuation
}
by the time you return from iniitializing stream1, that trailing closure has in fact been run.