The type of the input value or promise.
A PendingOption resolving to Some with the awaited value.
const x = pendingSome(42);
const y = pendingSome(Promise.resolve("hello"));
expect(await x).toStrictEqual(some(42));
expect(await y).toStrictEqual(some("hello"));
Creates a PendingOption<T> that resolves to Some containing the awaited value.
Takes a value or promise and wraps its resolved result in a Some, ensuring the value type is
Awaited
to handle anyPromiseLike
input.