How do I create a singleton in Swift 6?
@RoyRodney but then whenever I try to prepare/print anything, the compiler requires me to mark that as async
, which then requires I wrap it in a Task
, which then adds unnecessary multithreading and no longer guarantees FIFO