QueueGet returns the queue with the given name. If the queue has not recently been active or does not exist, returns ErrNotFound. The provided context is used for the underlying Postgres query and can be used to cancel the operation or apply a timeout.
(ctx context.Context, name string)
| 2587 | // The provided context is used for the underlying Postgres query and can be |
| 2588 | // used to cancel the operation or apply a timeout. |
| 2589 | func (c *Client[TTx]) QueueGet(ctx context.Context, name string) (*rivertype.Queue, error) { |
| 2590 | return c.driver.GetExecutor().QueueGet(ctx, &riverdriver.QueueGetParams{ |
| 2591 | Name: name, |
| 2592 | Schema: c.config.Schema, |
| 2593 | }) |
| 2594 | } |
| 2595 | |
| 2596 | // QueueGetTx returns the queue with the given name. If the queue has not recently |
| 2597 | // been active or does not exist, returns ErrNotFound. |
nothing calls this directly
no test coverage detected