Module: handlers
Table of contents
Variables
Variables
handlers
• Const handlers: Object
Type declaration
| Name | Type |
|---|---|
downloadStore | { get: <T>(key: string, defaultValue?: T) => Promise<T> } |
downloadStore.get | [object Object] |
inventoryStore | { get: <T>(key: string, defaultValue?: T) => Promise<T> } |
inventoryStore.get | [object Object] |
copyFile | (source: string, destination: string) => Promise<any> |
copyFileWithMetadata | (options: { destination: string ; metadata?: ComfyUIFileMetaData ; source: string }) => Promise<any> |
downloadFiles | (data: { appId: string ; destination: string ; id: string ; label: string ; source: string ; unzip?: boolean }[]) => Promise<string> |
getDirectoryPath | () => Promise<any> |
getFilePath | () => Promise<any> |
on | (channel: string, callback: (...arguments_: unknown[]) => void) => () => void |
readFile | (name: string, encoding?: BufferEncoding) => Promise<any> |
send | (channel: string, value?: unknown) => void |
writeFile | (name: string, content: string, options: { encoding?: BufferEncoding }, context?: string) => Promise<any> |