MCPcopy Index your code
hub / github.com/TanStack/ai / dispose

Method dispose

packages/ai-isolate-node/src/isolate-context.ts:82–89  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

80 }
81
82 dispose(): Promise<void> {
83 if (!this.disposed) {
84 this.disposed = true
85 this.context.release()
86 this.isolate.dispose()
87 }
88 return Promise.resolve()
89 }
90}

Callers 3

runInIsolateFunction · 0.45

Calls 1

resolveMethod · 0.80

Tested by 1

runInIsolateFunction · 0.36