Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pollinations/pollinations
/ stopGeneration
Function
stopGeneration
apps/chat/src/utils/api.js:495–500 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
493
};
494
495
export
const
stopGeneration = () => {
496
if
(abortController) {
497
abortController.abort();
498
abortController = null;
499
}
500
};
501
502
export
const
generateImage =
async
(prompt, options = {}) => {
503
const
{
Callers
1
App
Function · 0.90
Calls
1
abort
Method · 0.65
Tested by
no test coverage detected