MCPcopy Create free account
hub / github.com/denoland/std / failingSource

Function failingSource

async/unstable_pool_settled_test.ts:213–217  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

211 const controller = new AbortController();
212
213 async function* failingSource() {
214 yield 1;
215 yield 2;
216 throw new Error("source failed");
217 }
218
219 const collected: PromiseSettledResult<number>[] = [];
220

Callers 2

fnFunction · 0.85

Calls 1

abortMethod · 0.45

Tested by

no test coverage detected