MCPcopy Create free account
hub / github.com/arktypeio/arktype / arrive

Function arrive

ark/aot/unplugin.ts:2401–2406  ·  view source on GitHub ↗
(pending: PendingScan, id: string, code: string)

Source from the content-addressed store, hash-verified

2399}
2400
2401const arrive = (pending: PendingScan, id: string, code: string) => {
2402 const arrival = pending.arrivals.get(id)
2403 if (typeof arrival === "string") return
2404 arrival?.resolve(code)
2405 pending.arrivals.set(id, code)
2406}
2407
2408const arrivalOf = (
2409 pending: PendingScan,

Callers 1

scanOfFunction · 0.85

Calls 3

getMethod · 0.65
resolveMethod · 0.65
setMethod · 0.45

Tested by

no test coverage detected