Map HotMesh job state to a human-readable execution status.
HotMesh semaphore: 0 = idle, > 0 = pending activities, < 0 = failed / interrupted.
0
> 0
< 0
A workflow can be "done" (state.data.done === true) while the semaphore is still > 0 (cleanup activities pending). We check both the done flag and the semaphore to determine status.
state.data.done === true
done
Optional
Map HotMesh job state to a human-readable execution status.
HotMesh semaphore:
0= idle,> 0= pending activities,< 0= failed / interrupted.A workflow can be "done" (
state.data.done === true) while the semaphore is still > 0 (cleanup activities pending). We check both thedoneflag and the semaphore to determine status.