MCPcopy Index your code
hub / github.com/di-sukharev/opencommit / enqueue

Method enqueue

out/cli.cjs:13227–13235  ·  view source on GitHub ↗
(chunk = void 0)

Source from the content-addressed store, hash-verified

13225 ReadableStreamDefaultControllerClose(this);
13226 }
13227 enqueue(chunk = void 0) {
13228 if (!IsReadableStreamDefaultController(this)) {
13229 throw defaultControllerBrandCheckException$1("enqueue");
13230 }
13231 if (!ReadableStreamDefaultControllerCanCloseOrEnqueue(this)) {
13232 throw new TypeError("The stream is not in a state that permits enqueue");
13233 }
13234 return ReadableStreamDefaultControllerEnqueue(this, chunk);
13235 }
13236 /**
13237 * Errors the controlled readable stream, making all future interactions with it fail with the given error `e`.
13238 */

Callers

nothing calls this directly

Tested by

no test coverage detected