Skip to content
This repository has been archived by the owner on Feb 20, 2024. It is now read-only.

Adding ability to set timeout and deadline for workers

Compare
Choose a tag to compare
@catmullet catmullet released this 20 Oct 15:21
· 82 commits to master since this release
0873cc9

Added additional methods off of the worker

  • SetTimeout(time.Duration)
  • SetDeadline(time.Time)
  • IsDone() returns context cancellation or error through <- chan struct{}