cdurham
07/10/2025, 6:36 PM// assuming this is a singleton
private val deferredThing: Deferred<Thing> =
      ioScope.async(start = CoroutineStart.LAZY) {
        createThing()
      }Youssef Shoaib [MOD]
07/10/2025, 6:43 PMDmitry Khalanskiy [JB]
07/11/2025, 12:10 PMprivate val deferredThing: Deferred<Thing> by lazy {
  ioScope.async {
    createThing()
  }
}deferredThingioScopecdurham
07/11/2025, 3:38 PMYoussef Shoaib [MOD]
07/11/2025, 3:54 PMlazyLAZYcdurham
07/11/2025, 4:07 PM