listmonk/internal/manager
Kailash Nadh 414c5c0c99 Refactor the core concurrent campaign manager logic.
This commit fully refactors the core campaign manager logic.
It applies a whole new approach to campaign state and lifecycle management.

- Create a new "pipeline" abstraction on top of campaign
  for state management.
- Account for every message processed and end campaigns
  based on the actual count.
- Discard in-queue messages in the pipeline of a paused
  or cancelled campaign.
2024-01-02 14:57:04 +05:30
..
manager.go Refactor the core concurrent campaign manager logic. 2024-01-02 14:57:04 +05:30
message.go Refactor the core concurrent campaign manager logic. 2024-01-02 14:57:04 +05:30
pipe.go Refactor the core concurrent campaign manager logic. 2024-01-02 14:57:04 +05:30