Creates a PendingOption<T> that resolves to None.
Produces a pending option representing the absence of a value, with the type resolved to Awaited for consistency with asynchronous operations.
Awaited
The type of the absent value.
A PendingOption resolving to None.
const x = pendingNone<number>();expect(await x).toStrictEqual(none());expect((await x).isNone()).toBe(true); Copy
const x = pendingNone<number>();expect(await x).toStrictEqual(none());expect((await x).isNone()).toBe(true);
Creates a PendingOption<T> that resolves to None.
Produces a pending option representing the absence of a value, with the type resolved to
Awaited
for consistency with asynchronous operations.