MCPcopy Create free account
hub / github.com/GlobalTechInfo/MEGA-MD / startAutoBio

Function startAutoBio

plugins/setbio.js:78–87  ·  view source on GitHub ↗
(sock)

Source from the content-addressed store, hash-verified

76}
77let autoBioInterval = null;
78export function startAutoBio(sock) {
79 if (autoBioInterval)
80 return;
81 fetchQuotes().then(() => {
82 });
83 autoBioInterval = setInterval(() => {
84 updateAutoBio(sock);
85 }, 10 * 60 * 1000);
86 updateAutoBio(sock);
87}
88function stopAutoBio() {
89 if (autoBioInterval) {
90 clearInterval(autoBioInterval);

Callers 2

startQasimDevFunction · 0.85
handlerFunction · 0.85

Calls 2

fetchQuotesFunction · 0.85
updateAutoBioFunction · 0.85

Tested by

no test coverage detected