Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dissolver ¶
type Dissolver struct {
// contains filtered or unexported fields
}
Dissolver allows to put function to in-memory queue and process it with workers until success. The order of execution is not maintained. Jobs will be lost after closing. Jobs not saved to persistent store so do not survive process restart. Centrifuge uses this for asynchronously unsubscribing node from channels in broker. As soon as process restarts all connections to broker get closed automatically so it's ok to lose jobs inside Dissolver queue.
Click to show internal directories.
Click to hide internal directories.