function
NewPopulationBudget
Create a concurrency-safe recursive population budget.
Arguments
| Argument | Type | Description |
|---|---|---|
limit | int | The limit value. |
Returns
The declared result.
*PopulationBudgetHow it works
A non-positive limit uses MaxPopulationMaterializedDocuments (4096).
Full signature
func NewPopulationBudget(limit int) *PopulationBudgetRelated types
PopulationBudgetA shared recursive population materialization budget.