FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
core-queue/event.go at master · DoNewsCode/core-queue · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
DoNewsCode
/
core-queue
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
Code
Issues
1
Pull requests
12
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
core-queue
/
event.go
Copy path
More file actions
More file actions
Latest commit
History
History
History
23 lines (19 loc) · 600 Bytes
Breadcrumbs
core-queue
/
event.go
Copy path
File metadata and controls
23 lines (19 loc) · 600 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package
queue
type
event
string
const
(
// BeforeRetry is an event that triggers when the job failed previously is going to be retried.
// Note: if retry attempts are exhausted, this event won't be triggered.
BeforeRetry
event
=
"beforeRetry"
// BeforeAbort is an event that triggers when the job failed previously is going
// to be aborted. If the Job still has retry attempts remaining, this event won't
// be triggered.
BeforeAbort
event
=
"beforeAbort"
)
type
BeforeAbortPayload
struct
{
Err
error
Job
*
PersistedJob
}
type
BeforeRetryPayload
struct
{
Err
error
Job
*
PersistedJob
}
Back
|
FazBrowse Home
|
New Git URL