next.js/packages/next/src/client/components/unresolved-thenable.ts
unresolved-thenable.ts7 lines200 B
/**
 * Create a "Thenable" that does not resolve. This is used to suspend indefinitely when data is not available yet.
 */
export const unresolvedThenable = {
  then: () => {},
} as PromiseLike<void>
Quest for Codev2.0.0
/
SIGN IN