However, I've realized that UnsafeContinuation still lacks supporting ~Copyable.
Thanks fully, I can use ManagedBuffer or Pointers to wrap ~Copyable.
But I want to be sure if this is the right way to do, since ManagedBuffer and Pointers are unSendable types.
Maybe, thanks to transferring is it okay to do?
Unsafe continuation is happy to be copyable though.
Itโs totally valid to escape it into some contexts and use other means to ensure it is resumed once. Like โfirst actor to complete should resume itโ etc.
So I think we should do it, but there's some issues with doing so currently which generate a bad .swiftinterface file, so that'd have to be resolved first.