RegisterHandler sets the handler function for processing messages.
(handler func(ctx context.Context, msg T) error)
| 32 | |
| 33 | // RegisterHandler sets the handler function for processing messages. |
| 34 | RegisterHandler(handler func(ctx context.Context, msg T) error) |
| 35 | |
| 36 | // Close gracefully shuts down the queue, waiting for pending messages to be processed. |
| 37 | Close() |
no outgoing calls