pub type WorkerStatus = WorkerStatus;Aliased Type§
pub enum WorkerStatus {
Running,
Idle,
Suspended,
Interrupted,
Retrying,
Failed,
Exited,
}Variants§
Running
The worker is running an invoked function
Idle
The worker is ready to run an invoked function
Suspended
An invocation is active but waiting for something (sleeping, waiting for a promise)
Interrupted
The last invocation was interrupted but will be resumed
Retrying
The last invocation failed and a retry was scheduled
Failed
The last invocation failed and the worker can no longer be used
Exited
The worker exited after a successful invocation and can no longer be invoked