Skip to main content
Glama
prisma

Prisma MCP Server

Official
by prisma
web-platform.ts536 B
/** * Equivalent to `once` from `node:events` for DOM {@link EventTarget}. * * It is useful, e.g., to wait for an `abort` event on {@link AbortSignal}. * While in Node.js `AbortSignal` does implement `EventEmitter` interface * and is compatible with the `once` utility in `node:events`, it is not * necessarily the case in other JS runtimes. */ export async function once(target: EventTarget, event: string): Promise<Event> { return new Promise((resolve) => { target.addEventListener(event, resolve, { once: true }) }) }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/prisma/prisma'

If you have feedback or need assistance with the MCP directory API, please join our Discord server