Skip to main content

Function: streamRetention()

streamRetention(rule): "limits" | "work-queue"

Defined in: packages/contracts/src/permissions/table.ts:460

A stream's retention, with the default applied.

Parameters​

rule​

StreamRule

A stream's row.

Returns​

"limits" | "work-queue"

The stated retention, or limits when the row states none.