MCPcopy Create free account
hub / github.com/Effect-TS/effect / waitUntilAdvisoryLock

Function waitUntilAdvisoryLock

packages/sql/pg/test/utils.ts:254–255  ·  view source on GitHub ↗
(observer: PgConnection.PgConnection, pid: number)

Source from the content-addressed store, hash-verified

252
253// Parse can report active before Execute starts. Cancellation needs the query to be waiting on the lock.
254export const waitUntilAdvisoryLock = (observer: PgConnection.PgConnection, pid: number) =>
255 waitUntilActive(observer, pid, true)

Calls

no outgoing calls

Tested by

no test coverage detected