Contents

init(maximumCount:maximumAge:)

Passed to an Event to specify the maximum number and maximum age of donations the event will persist and query.

Declaration

init(maximumCount: Int, maximumAge: Tips.DonationTimeRange? = nil)

Parameters

  • maximumCount:

    Maximum number of donations this event will persist and query.

  • maximumAge:

    Maximum age of donations this event will persist and query. By default events have no maximum age.