MCPcopy Create free account
hub / github.com/Effect-TS/effect / next

Method next

packages/effect/src/encoding/Zip.ts:1281–1284  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1279 // Returns the next entry header, or `undefined` once the entries and the
1280 // input have ended. Input after the entries is discarded.
1281 next(): Header | undefined | typeof NeedInput {
1282 this.generation++
1283 return this.guard(() => this.advance())
1284 }
1285
1286 private guard<A>(f: () => A): A {
1287 if (this.failure !== undefined) throw this.failure

Callers 1

decodeFunction · 0.95

Calls 2

guardMethod · 0.95
advanceMethod · 0.95

Tested by

no test coverage detected