Replies: 4 comments 7 replies
-
You can use |
Beta Was this translation helpful? Give feedback.
-
Is there documentation anywhere on the various hooks? |
Beta Was this translation helpful? Give feedback.
-
That signal doesn't appear to include any context about the object--so I can't get properties of various fields like "filename" on my widget. Is there a different signal that's fired for that or am I missing something? |
Beta Was this translation helpful? Give feedback.
-
https://github.com/ltdrdata/ComfyUI-Inspire-Pack/blob/c8fddd510f569f7ec22f5458659f39127fee8ed0/inspire/inspire_server.py#L350 In that case, it's essentially no different from the existing wildcard structure. Just read the file each time instead of using the cache. The reason wildcard processing nodes utilize cached data is because scanning massive wildcards, such as billions of wildcard, can consume significant scan time on its own. |
Beta Was this translation helpful? Give feedback.
-
I wrote a quick custom node to pull in data from a text box and a file and then randomly pick a line based on the seed.
Unfortunately, what I'm seeing is when a job start running, it reads the file and makes the choice...but what I don't see is a way to read the file when the job is queued.
This prevents being able to have a text file where you might queue a job, then while the job is running, make a change to the file, queue it up, make another change, queue it up, etc...
Is there a hook that gets called when a job is queued, not just when it starts running?
Beta Was this translation helpful? Give feedback.
All reactions