makeChannel() function
Makes channel entry from a given channel name, class method name and options.
Signature:
export declare function makeChannel(name: string, method: string, options: CacheWithOptions): PgCacheChannel;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
name |
string |
notification channel, i.e. the watched table name |
|
method |
string |
decorated method to invalidate when that channel fires |
|
options |
which channels invalidate the result, its TTL and cache tag decorator options; only the per-channel filter is read here |
Returns:
Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.