# PgCacheChannel type · @imqueue/pg-cache

Source: https://imqueue.org/api/pg-cache/latest/pg-cache.pgcachechannel/
Published: 2026-08-04
Author: @imqueue maintainers (https://github.com/imqueue)
Package: @imqueue/pg-cache 5.0.6 — generated reference, not hand-written

One registered dependency of a cached method: the method to invalidate, and an optional filter narrowing which changes should trigger it.

Position 0 is the decorated method name; position 1 is the filter, or `undefined` to invalidate on every change to the table.

**Signature:**

```typescript
export type PgCacheChannel = [
    string,
    // called method name
    ChannelFilter | undefined
];
```
**References:** [ChannelFilter](https://imqueue.org/api/pg-cache/latest/pg-cache.channelfilter/)

