MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / flush

Function flush

test/bot-commands.test.ts:24–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22
23const allow = { telegram: { allowedUsers: ['u1'] } };
24const flush = () => new Promise(r => setTimeout(r, 0));
25const lastText = (sent: { text: string }[]) => sent[sent.length - 1]!.text;
26
27describe('bot command registry', () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected