MCPcopy Index your code
hub / github.com/codeaashu/claude-code / emit

Function emit

web/components/ui/toast.tsx:28–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26const listeners = new Set<Listener>()
27
28function emit() {
29 listeners.forEach((fn) => fn([...toastList]))
30}
31
32export const toast = {
33 show(data: Omit<ToastData, 'id'>) {

Callers 2

showFunction · 0.70
dismissFunction · 0.70

Calls 1

forEachMethod · 0.80

Tested by

no test coverage detected