MCPcopy Index your code
hub / github.com/codeaashu/claude-code / flush

Method flush

src/server/web/public/terminal.js:3642–3645  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3640 this._tasks.push(e3), this._start();
3641 }
3642 flush() {
3643 for (; this._i < this._tasks.length; ) this._tasks[this._i]() || this._i++;
3644 this.clear();
3645 }
3646 clear() {
3647 this._idleCallback && (this._cancelCallback(this._idleCallback), this._idleCallback = void 0), this._i = 0, this._tasks.length = 0;
3648 }

Callers

nothing calls this directly

Calls 1

clearMethod · 0.95

Tested by

no test coverage detected