NewNoopEnqueuer builds a NoopEnqueuer which is used to fulfill the contract for enqueuing notifications, if ExperimentNotifications is not set.
()
| 217 | |
| 218 | // NewNoopEnqueuer builds a NoopEnqueuer which is used to fulfill the contract for enqueuing notifications, if ExperimentNotifications is not set. |
| 219 | func NewNoopEnqueuer() *NoopEnqueuer { |
| 220 | return &NoopEnqueuer{} |
| 221 | } |
| 222 | |
| 223 | func (*NoopEnqueuer) Enqueue(context.Context, uuid.UUID, uuid.UUID, map[string]string, string, ...uuid.UUID) ([]uuid.UUID, error) { |
| 224 | // nolint:nilnil // irrelevant. |
no outgoing calls