You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the callback fn is only passed the name of the executable/fn in the job. If I'm dealing with multiple jobs using the same executable that differ only in args, then the callback fn can't help me disambiguate which job ran.
I'd like to have my callbackFn to provide some info on the env (envA vs envB) as well. However, $1 in callbackFn is just startEnv today. Is this possible today?
Alternatives
⚠️ I could have a separate worker per job args which is probably not how the library was meant to be used.
🚫 Processing individual jobs or attaching callbacks per request can result in race-conditions etc.
The text was updated successfully, but these errors were encountered:
Problem Statement
Currently, the callback fn is only passed the name of the executable/fn in the job. If I'm dealing with multiple jobs using the same executable that differ only in args, then the callback fn can't help me disambiguate which job ran.
Sample Usecase:
I'd like to have my callbackFn to provide some info on the env (envA vs envB) as well. However, $1 in callbackFn is just
startEnv
today. Is this possible today?Alternatives
The text was updated successfully, but these errors were encountered: