agentcash
Version:
Generic MCP server for calling x402-protected APIs with automatic payment handling
13 lines (12 loc) • 357 B
JavaScript
// src/cli/lib/wait.ts
import { spinner } from "@clack/prompts";
var wait = async ({ startText, stopText, ms }) => {
const { start: startSpinner, stop: stopSpinner } = spinner();
startSpinner(startText);
await new Promise((resolve) => setTimeout(resolve, ms));
stopSpinner(stopText);
};
export {
wait
};
//# sourceMappingURL=chunk-DZNSJ2BA.js.map