Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMonoprocessBackend ¶
NewMonoprocessBackend wraps an existing backend and improves its responsiveness in case the backend and worker are running in the same process. This backend uses channels to notify the worker every time there is a new task ready to be worked on. Note that only one worker will be notified. IMPORTANT: Only use this backend when the backend and worker are running in the same process.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.