MCPcopy Create free account
hub / github.com/WinterTC55/iter-streams /

Class

samples/09-resource-management.ts:320–320  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

318 {
319 // Simulate an external resource (e.g., file handle, database connection)
320 class FakeFileHandle {
321 private _closed = false;
322 private _data = ['line1\n', 'line2\n', 'line3\n'];
323 private _position = 0;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected