Send enqueues a message to be processed asynchronously.
(ctx context.Context, msg T)
| 29 | type Service[T any] interface { |
| 30 | // Send enqueues a message to be processed asynchronously. |
| 31 | Send(ctx context.Context, msg T) |
| 32 | |
| 33 | // RegisterHandler sets the handler function for processing messages. |
| 34 | RegisterHandler(handler func(ctx context.Context, msg T) error) |
no outgoing calls