WithPollInterval sets the interval between polls. Parameters: - interval time.Duration: The poll interval. Returns: - *LineageOutboxProcessor: The processor for chaining.
(interval time.Duration)
| 77 | // Returns: |
| 78 | // - *LineageOutboxProcessor: The processor for chaining. |
| 79 | func (p *LineageOutboxProcessor) WithPollInterval(interval time.Duration) *LineageOutboxProcessor { |
| 80 | p.pollInterval = interval |
| 81 | return p |
| 82 | } |
| 83 | |
| 84 | // WithLockDuration sets the lock duration for claimed entries. |
| 85 | // |
no outgoing calls