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

Method clear

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

Source from the content-addressed store, hash-verified

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 }
3649 _start() {
3650 this._idleCallback || (this._idleCallback = this._requestCallback(this._process.bind(this)));
3651 }

Callers 2

flushMethod · 0.95
_processMethod · 0.95

Calls 1

_cancelCallbackMethod · 0.45

Tested by

no test coverage detected