MCPcopy Create free account
hub / github.com/adobe/react-spectrum /

Class

packages/react-stately/src/toast/useToastState.ts:89–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87 * A ToastQueue manages the order of toasts.
88 */
89export class ToastQueue<T> {
90 private queue: QueuedToast<T>[] = [];
91 private subscriptions: Set<() => void> = new Set();
92 private maxVisibleToasts: number;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected