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
While queueing a job I went to use dispatchAfterResponse which as one would expect should queue the job after the response. However it instead ran immediately skipping being queued (database driver) entirely. Under the hook it's calling dispatchNow() but I would expect it to call dispatch()?
Perhaps the wording could be changed to reflect what happens, i.e. dispatchAfterResponse -> dispatchNowAfterResponse and dispatchAfterResponse would instead use dispatch() under the hood.
What's your experience with this, confusing or not?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
While queueing a job I went to use
dispatchAfterResponse
which as one would expect should queue the job after the response. However it instead ran immediately skipping being queued (database driver) entirely. Under the hook it's callingdispatchNow()
but I would expect it to calldispatch()
?Perhaps the wording could be changed to reflect what happens, i.e.
dispatchAfterResponse -> dispatchNowAfterResponse
anddispatchAfterResponse
would instead usedispatch()
under the hood.What's your experience with this, confusing or not?
Beta Was this translation helpful? Give feedback.
All reactions