MCPcopy Create free account
hub / github.com/pollinations/pollinations / main

Function main

apps/micro/examples/basic-usage.js:77–90  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

75
76// Run examples
77async function main() {
78 console.log('🚀 Micro Service Examples\n');
79
80 await verifyConnection();
81 console.log('');
82
83 await sendWelcomeEmail();
84 console.log('');
85
86 await sendCustomEmail();
87 console.log('');
88
89 console.log('✨ Examples completed!');
90}
91
92// Only run if this file is executed directly
93if (import.meta.url === `file://${process.argv[1]}`) {

Callers 1

basic-usage.jsFile · 0.70

Calls 4

logMethod · 0.80
verifyConnectionFunction · 0.70
sendWelcomeEmailFunction · 0.70
sendCustomEmailFunction · 0.70

Tested by

no test coverage detected