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

Function replace

ark/aot/unplugin.ts:224–227  ·  view source on GitHub ↗
(send: ReturnType<typeof create>)

Source from the content-addressed store, hash-verified

222 }
223 }
224 const replace = (send: ReturnType<typeof create>) => {
225 void send(["close"]).catch(() => undefined)
226 return create()
227 }
228 const restart = () => {
229 precompiler = precompiler.then(replace)
230 }

Callers 1

resetFunction · 0.70

Calls 2

sendFunction · 0.85
createFunction · 0.70

Tested by

no test coverage detected