AsyncOnceCell import { AsyncOnceCell } from "destack:async"; One-time async initialized cell. export class AsyncOnceCell { value: MaybeUninit; get(): &readonly T | undefined; set(value: ^T): Result; getOrInit(init: () => Task): Task<&readonly T>; take(): T | undefined; } language/library/src/async/once.ds:21:44 Members value: MaybeUninit The stored value. get(): &readonly T | undefined Get the initialized value. set(value: ^T): Result Set the value once. getOrInit(init: () => Task): Task<&readonly T> Get the value or initialize it. take(): T | undefined Move the value out when initialized.